# CVE-2025-58450: pREST has Systemic SQL Injection Vulnerability

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.16%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-08T21:35:01.452Z
- Modified: 2026-10-19T17:10:00.173Z
- Also known as: GHSA-p46v-f2x8-qp98, GO-2025-3941
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- prest prest: < 2.0.0-rc3
- github.com/prest/prest/v2 (Go): all versions
- github.com/prest/prest (Go): all versions

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `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`
- GitHub: CVSS:4.0 Critical `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`

## References

- <https://github.com/prest/prest/security/advisories/GHSA-p46v-f2x8-qp98> (exploit, advisory, web)
- <https://github.com/prest/prest/commit/47d02b87842900f77d76fc694d9aa7e983b0711c> (fix, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-58450> (advisory)
- <https://github.com/prest/prest> (package)

## Sources

- CVE List: [CVE-2025-58450](https://www.cve.org/CVERecord?id=CVE-2025-58450), CVE Terms of Use, modified 2025-09-09
- GitHub Advisory Database: [GHSA-p46v-f2x8-qp98](https://github.com/advisories/GHSA-p46v-f2x8-qp98), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3941](https://pkg.go.dev/vuln/GO-2025-3941), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-58450](https://nvd.nist.gov/vuln/detail/CVE-2025-58450), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-58450 · Whole record: https://cve.day/CVE-2025-58450.json · Rebuilt by cve.day 2026-11-25T22:59:04.347Z
