Skip to main content
VulnerabilityPublished Updated

CVE-2026-15741: PostgreSQL expression deparse allows SQL injection via EXTRACT argument

Affects postgresqlSource GCVE Database

0
Compare
Authoritative record:CVE-2026-15741· High 8.8

Not known to be exploited · CVSS 8.8 High · fixed in 18.5 : patch postgresql soon.

Data as of 12 Nov 2026, 23:24 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 18.5, 17.11, 16.15 +2
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 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 13 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Postgresqlpostgresql/postgresqlpkg:deb/postgresql/postgresqlOther threatsAffected
  • <14.24
  • <15.19
  • <16.15
  • <17.11
  • <18.5
Fixed in
  • 14.24
  • 15.19
  • 16.15
  • 17.11
  • 18.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available for this vulnerability. Users should upgrade PostgreSQL to versions 14.24 or later, 15.19 or later, 16.15 or later, 17.11 or later, or 18.6 or later to remediate the issue. Applying these official fixes will prevent exploitation of the SQL injection vulnerability in the EXTRACT() expression deparse functionality.

Description

A SQL injection vulnerability exists in PostgreSQL's EXTRACT() expression deparse functionality, allowing an object owner to execute arbitrary SQL commands with superuser privileges via a malicious object definition. This affects various tools that consume expression deparse output, including pg_dump and psql commands like \sf. The vulnerability impacts multiple PostgreSQL versions prior to 14.24, 15.19, 16.15, 17.11, and 18.6.

References

Community reviews

Loading reviews…