CVE-2026-134842: pgjdbc · SQL Injection
Affects pgjdbcSource CVE Database V5
Not known to be exploited · CVSS 8.1 High : upgrade to 42.7.15 soon.
Data as of 23 Nov 2026, 17:12 UTC
Thin evidence
One scorer or none| CNA (PostgreSQL) | CVSS 3.1 | 8.1 |
|---|
- Patch
- Available – fixed in 42.7.15
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 23 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.
What to do
Upgrade pgjdbc and org.postgresql/postgresql to 42.7.15.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| pgjdbcorg.postgresql:postgresql | Affected
| Fixed in
|
Mavenorg.postgresql/postgresqlpkg:maven/org.postgresql/postgresqlOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to pgjdbc version 42.7.15 or later, where this vulnerability is fixed. No other mitigations are indicated or required by the vendor advisory.
Description
CVE-2026-134842 is a high-severity SQL Injection vulnerability in the PostgreSQL JDBC Driver (pgjdbc). It occurs when the driver incorrectly quotes string parameters due to changes in the standard_conforming_strings setting during a session with preferQueryMode=simple enabled. This flaw affects all versions before 42.7.15 and can lead to execution of arbitrary SQL commands. The issue is fixed in version 42.7.15.