Skip to main content
VulnerabilityPublished

CVE-2026-134842: pgjdbc · SQL Injection

Affects pgjdbcSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.1 High : upgrade to 42.7.15 soon.

Data as of 23 Nov 2026, 17:12 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (PostgreSQL)CVSS 3.18.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
pgjdbcorg.postgresql:postgresqlAffected
  • <42.7.15
Fixed in
  • 42.7.15
Mavenorg.postgresql/postgresqlpkg:maven/org.postgresql/postgresqlOther threatsAffected
  • <42.7.15
Fixed in
  • 42.7.15

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.

References

Community reviews

Loading reviews…