---
title: "CVE-2025-58450: pREST has a Systemic SQL Injection Vulnerability"
url: https://erroneo.us/security/cve/CVE-2025-58450/
description: "CVE-2025-58450 (github.com/prest/prest/v2 (Go)): pREST (PostgreSQL REST), is an API that delivers an application on top of a Postgres database. SQL…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-09-08
date_modified: 2025-09-10
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-58450"
kev: false
cvss: 9.3
epss: 0.00442
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.4% , percentile 37: FIRST’s model estimates a 0.4% chance of exploitation activity in the next 30 days, higher than 37% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes github.com/prest/prest/v2 (Go) < 2.0.0-rc2, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- Go `github.com/prest/prest/v2` < 2.0.0-rc2 → fixed: none listed

## Affected products (CVE record)

- prest prest: < 2.0.0-rc3

## Severity

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

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.44% probability of exploitation activity in the next 30 days; percentile 37.

## Sources

- [GitHub Advisory GHSA-p46v-f2x8-qp98](https://github.com/advisories/GHSA-p46v-f2x8-qp98)
- [CVE.org record CVE-2025-58450](https://www.cve.org/CVERecord?id=CVE-2025-58450)
- [NVD entry CVE-2025-58450](https://nvd.nist.gov/vuln/detail/CVE-2025-58450)
- [github.com](https://github.com/prest/prest/security/advisories/GHSA-p46v-f2x8-qp98)
- [github.com](https://github.com/prest/prest/commit/47d02b87842900f77d76fc694d9aa7e983b0711c)

---
Source page: https://erroneo.us/security/cve/CVE-2025-58450/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
