SQL injection in Postgresql JDBC Driver - CVE-2026-134841

 

SQL injection in Postgresql JDBC Driver - CVE-2026-134841

Published: November 23, 2026


Vulnerability identifier: #VU169759
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-134841
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary SQL with the privileges of the application's database role.

The vulnerability exists due to improper separation of quoted text from SQL syntax in the pgjdbc query parser when processing JDBC escapes, dollar-quoted text, or escape string literals, or rewriting certain JDBC functions. A remote attacker can supply a value that the application quotes in an affected query to have the database execute it as SQL.


Affected software

Postgresql JDBC Driver

How to mitigate CVE-2026-134841

Install security update from vendor's website.

Postgresql JDBC Driver - update to 42.7.15

External References

Related Security Bulletins