CVE-2025-58450 pREST has Systemic SQL Injection Vulnerability
CriticalCVSS 9.3
EPSS 0.44%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
Description
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.
Upgrade path
2 packages: 0 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| prest github.com/prest/prest/v2(Go) | < 2.0.0-rc2; All versions | 2.0.0-rc2 | Partially fixed |
| prest github.com/prest/prest/v2 | = < 2.0.0-rc3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| prest github.com/prest/prest/v2(Go) | All versions | No fix listed |
| prest github.com/prest/prest/v2(Go) | < 2.0.0-rc2 | 2.0.0-rc2 |
| prest github.com/prest/prest/v2 | = < 2.0.0-rc3 | No fix listed |
References
- https://github.com/prest/prest/security/advisories/GHSA-p46v-f2x8-qp98 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/prest/prest/commit/47d02b87842900f77d76fc694d9aa7e983b0711c patch
- github.com product
- github.com