CVE-2025-58450
CRITICAL 9.3CVSS 4.0pREST has a Systemic SQL Injection Vulnerability
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.
- Published
- 8 Sep 2025
- Last modified
- 19 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-89
- Also known as
- GHSA-p46v-f2x8-qp98GO-2025-3941
- Sources
- NVDJSONOSV GHSA-p46v-f2x8-qp98JSONOSV GO-2025-3941JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 9.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/prest/prest/v2 | all versions | |
| OSV | Go | github.com/prest/prest | all versions |
References
- https://github.com/prest/prest/commit/47d02b87842900f77d76fc694d9aa7e983b0711c · WEB, FIX
- https://github.com/prest/prest/security/advisories/GHSA-p46v-f2x8-qp98 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-58450 · ADVISORY
- https://github.com/prest/prest · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 8 Sep 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Sep 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Sep 2025)