{"id":"CVE-2025-58450","published":"2025-09-08T21:35:01Z","modified":"2025-09-09T13:30:44Z","title":"pREST has Systemic SQL Injection Vulnerability","vendor":"prest","product":"prest","tier":"tail","description":{"text":"pREST (PostgreSQL REST), is an API that delivers an application on top of a Postgres database. SQL injection is possible in versions prior to 2.0.0-rc3. The validation present in versions prior to 2.0.0-rc3 does not provide adequate protection from injection attempts. Version 2.0.0-rc3 contains a patch to mitigate such attempts.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01245,"percentile":0.69243,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/prest/prest/security/advisories/GHSA-p46v-f2x8-qp98","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/prest/prest/commit/47d02b87842900f77d76fc694d9aa7e983b0711c","tags":["x_refsource_MISC"]}],"priority":{"score":20.4,"factors":[{"name":"EPSS percentile","points":13.85},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"prest","affectedVersions":[{"vendor":"prest","product":"prest","versions":["< 2.0.0-rc3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-09-09T13:16:04.505475Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/prest/prest/v2","vulnerableRanges":["<2.0.0-rc2","all versions"],"patched":[],"from":["GHSA-p46v-f2x8-qp98","GO-2025-3941"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/prest/prest","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3941"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-27177","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-prest-cve-2025-58450","children":[{"from":"CVE-2025-58450","to":"CVE-2026-104129","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/prest/prest/v2","fromFixed":"2.0.0-rc2","toFixed":"2.4.0","daysApart":437},{"kind":"same-code","provenance":"machine","files":["adapters/postgres/postgres.go"],"commits":["https://github.com/prest/prest/commit/47d02b87842900f77d76fc694d9aa7e983b0711c","https://github.com/prest/prest/commit/084348fa82701b098492fc520557ff290b7691e2","https://github.com/prest/prest/commit/73e4b2aea81e2dbd33942efcb1a313fe3b151a41"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2025-58450","published":"2025-09-08","fixed":"2.0.0-rc2","kev":false},{"cve":"CVE-2026-104129","published":"2026-11-19","fixed":"2.4.0","kev":false}],"package":"Go:github.com/prest/prest/v2"}}