Description
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 PostgreSQL command line utility programs allows a source of command line arguments to achieve SQL injection when client_encoding is BIG5 and server_encoding is one of EUC_TW or MULE_INTERNAL. Versions before PostgreSQL 17.3, 16.7, 15.11, 14.16, and 13.19 are affected.
Exploits (8)
nomisec
WORKING POC
40 stars
by soltanali0 · poc
https://github.com/soltanali0/CVE-2025-1094-Exploit
nomisec
WORKING POC
5 stars
by ishwardeepp · poc
https://github.com/ishwardeepp/CVE-2025-1094-PoC-Postgre-SQLi
nomisec
WORKING POC
1 stars
by Nguyen-Van-Gia-Binh · poc
https://github.com/Nguyen-Van-Gia-Binh/Fcode-Security-Demo
github
WORKING POC
by PinkArmor · pythonremote-auth
https://github.com/PinkArmor/CVE-2025-1094-Lab-Setup
metasploit
WORKING POC
EXCELLENT
by Harsh Jaiswal, Jonah Burgess (CryptoCat) · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/beyondtrust_pra_rs_command_injection.rb
metasploit
WORKING POC
EXCELLENT
by sfewer-r7 · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/beyondtrust_pra_rs_unauth_rce.rb
References (6)
Scores
CVSS v3
8.1
EPSS
0.8336
EPSS Percentile
99.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Lab Environment
Details
VulnCheck KEV
2025-02-13
CWE
CWE-149
Status
published
Products (5)
n/a/PostgreSQL
< 13.19
n/a/PostgreSQL
14 - 14.16
n/a/PostgreSQL
15 - 15.11
n/a/PostgreSQL
16 - 16.7
n/a/PostgreSQL
17 - 17.3
Published
Feb 13, 2025
Tracked Since
Feb 18, 2026