pgjdbc, the PostgreSQL JDBC Driver, misreads some quoted text in its query parser.
- CVSS
- 8.1High
- Chance of exploitation (EPSS)
- 0.74%
- Published
- Nov 23, 2026
- In the news
- Not yet
What to do
A serious SQL injection flaw in Pgjdbc that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 42.7.15
Affected versions
- Pgjdbc
- Before 42.7.15
Description
pgjdbc, the PostgreSQL JDBC Driver, misreads some quoted text in its query parser. A `}` inside a literal ends a JDBC escape such as `{ts}`, and the rest of the literal is translated as SQL. A dollar quote whose tag has a non-ASCII symbol or space is not recognized. An `E''` string with a doubled quote is scanned as a standard string. `{fn right}` and `{fn timestampdiff}` with a negative argument produce a `--` comment. In each case text that the application quoted correctly can run as SQL with the privileges of the application's database role. All versions before 42.7.15 are affected, and 42.7.15 fixes the problem.
Affected products
Get alerts for these →Timeline 3
Latest change: Tenable Cloud Security plugin 484116: Chainguard: multiple keycloak-26.8 packages: security update to 26.8.2-r2 (Nov 25, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Thu, Nov 26, 2026
Mon, Nov 23, 2026
- CVECVE-2026-134841 published (CVSS 8.1)CVE Program · 17:17 UTC
References 2
- github.com /pgjdbc/pgjdbc/security/advisories/GHSA-4743-5rfh-f7mp
- github.com /pgjdbc/pgjdbc/security/advisories/GHSA-4743-5rfh-f7mp