CVE-2025-1094: Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(
CVE-2025-1094 is a high-severity flaw (CVSS 8.1) affecting affected software. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() allows a database input provider to achieve SQL injection in certain usage patterns. Specifically, SQL injection requires the application to use the function result to construct input to psql, the PostgreSQL interactive terminal. Similarly, improper neutralization of quoting syntax in Postgr
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 90.0% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-149 |
| Published | 2025-02-13 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: soltanali0/CVE-2025-1094-Exploit (38 stars)
- GitHub PoC: ishwardeepp/CVE-2025-1094-PoC-Postgre-SQLi (6 stars)
- GitHub PoC: skraft9/CVE-2024-12356 (2 stars)
- GitHub PoC: B1ack4sh/Blackash-CVE-2025-1094
- GitHub PoC: aninfosec/CVE-2025-1094
- Metasploit: BeyondTrust Privileged Remote Access (PRA) and Remote Support (RS) unauthenticated Remote Code Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-1094?
No fixed release is listed yet. Watch the vendor advisory and apply any mitigation shown on this page.
Is CVE-2025-1094 being exploited?
CVE-2025-1094 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-1094 affect?
CVE-2025-1094 affects affected software. Severity is high (CVSS 8.1). Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() allows a database input provider to achieve SQL injection in certain usage patterns.
How urgent is CVE-2025-1094?
Priority 63/100. High severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action