CVE-2026-15741 json
PostgreSQL expression deparse allows SQL injection via EXTRACT argument
published 2mo ago modified 2mo ago also BIT-postgresql-2026-15741 , EUVD-2026-57846
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 38%
- public exploits
- 0
- none known
Summary
SQL injection in PostgreSQL EXTRACT() deparse allows an object owner to execute arbitrary SQL as a superuser via a hostile object definition. Attacks affect expression deparse consumers broadly, including pg_dump, psql commands like \sf, and any similar usage in non-core tools. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
Patch / fix
- bitnami postgresql 14.24.0, 15.19.0, 16.15.0, 17.11.0, 18.5.0
- n/a PostgreSQL 14.24, 15.19, 16.15, 17.11, 18.6
- postgresql-15 Debian 12 15.19-0+deb12u1
- postgresql-17 Debian 13 17.11-0+deb13u1
- postgresql-18 Debian 14 18.6-1
debian advisories DEBIAN-CVE-2026-15741
- postgresql-14 Ubuntu 22.04 LTS 14.24-0ubuntu0.22.04.1
- postgresql-16 Ubuntu 24.04 LTS 16.15-0ubuntu0.24.04.1
- postgresql-18 Ubuntu 26.04 LTS 18.6-0ubuntu0.26.04.1
ubuntu advisories UBUNTU-CVE-2026-15741
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- postgresql16 RHEL 10.2 16.15-1.el10_2
- postgresql RHEL 10.2 16.15-1.el10_2
- postgresql-test RHEL 10.2 16.15-1.el10_2
- postgresql-pltcl RHEL 10.2 16.15-1.el10_2
- postgresql-plperl RHEL 10.2 16.15-1.el10_2
- postgresql-server RHEL 10.2 16.15-1.el10_2
- postgresql-contrib RHEL 10.2 16.15-1.el10_2
- postgresql-upgrade RHEL 10.2 16.15-1.el10_2
red hat advisories RHSA-2026:73912RHSA-2026:72362RHSA-2026:72363RHSA-2026:72282RHSA-2026:70856RHSA-2026:70762
- postgresql15 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 15.19-150200.5.62.1
- postgresql15 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Legacy 15 SP7 15.19-150600.16.36.1
- postgresql17 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Server Applications 15 SP7 +2 more 17.11-150600.13.32.1
- postgresql18 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 18.6-150200.5.17.1
- postgresql18 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Server Applications 15 SP7 +2 more 18.6-150600.13.16.1
- postgresql17 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 17.11-150200.5.33.1
- postgresql16 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Server Applications 15 SP7 +2 more 16.15-150600.16.38.1
- postgresql14 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Package Hub 15 SP7 +1 more 14.24-150600.16.36.1
suse advisories SUSE-SU-2026:4018-1SUSE-SU-2026:4017-1SUSE-SU-2026:4016-1SUSE-SU-2026:4015-1SUSE-SU-2026:4014-1SUSE-SU-2026:4013-1
- postgresql15 openSUSE Leap 16.0 15.19-160000.1.1
- postgresql16 openSUSE Leap 16.0 16.15-160000.1.1
- postgresql17 openSUSE Leap 16.0 17.11-160000.1.1
- postgresql14 openSUSE Leap 16.0 14.24-160000.1.1
- postgresql18 openSUSE Leap 16.0 18.6-160000.1.1
- postgresql18-mini openSUSE Leap 16.0 18.6-160000.1.1
- postgresql18 openSUSE Tumbleweed 18.6-1.1
- postgresql14 openSUSE Tumbleweed 14.24-1.1
opensuse advisories openSUSE-SU-2026:21700-1openSUSE-SU-2026:21701-1openSUSE-SU-2026:21702-1openSUSE-SU-2026:21699-1openSUSE-SU-2026:21703-1openSUSE-SU-2026:11565-1
- pgaudit AlmaLinux 8 16.0-1.module_el8.10.0+3798+606ebb9f
- pg_repack AlmaLinux 8 1.5.1-1.module_el8.10.0+4199+bf03c564
- pg_repack AlmaLinux 8 1.5.1-1.module_el8.10.0+4286+3c445f53
- pg_repack AlmaLinux 8 1.5.1-1.module_el8.10.0+4125+ceaf7d1b
- postgresql AlmaLinux 8 16.15-1.module_el8.10.0+4286+3c445f53
- postgresql-test AlmaLinux 8 16.15-1.module_el8.10.0+4286+3c445f53
- postgresql-pltcl AlmaLinux 8 16.15-1.module_el8.10.0+4286+3c445f53
- postgresql-plperl AlmaLinux 8 16.15-1.module_el8.10.0+4286+3c445f53
almalinux advisories ALSA-2026:69876ALSA-2026:69914ALSA-2026:69923ALSA-2026:70186ALSA-2026:67848ALSA-2026:67491
- postgresql16 Rocky Linux 10 16.15-1.el10_2
- pgaudit Rocky Linux 9 1.7.0-1.module+el9.7.0+40011+28af63c9
- pg_repack Rocky Linux 9 1.4.8-2.module+el9.7.0+40011+28af63c9
- postgres-decoderbufs Rocky Linux 9 1.9.7-1.Final.module+el9.7.0+40011+28af63c9
- pgaudit Rocky Linux 8 16.0-1.module+el8.10.0+40057+c37a0e3d
- pgaudit Rocky Linux 8 16.0-1.module+el8.10.0+1622+bd25b19c
- pgaudit Rocky Linux 8 16.0-1.module+el8.10.0+1858+fcc46a79
- pg_repack Rocky Linux 8 1.5.1-1.module+el8.10.0+1900+d7340343
rocky linux advisories RLSA-2026:70186RLSA-2026:69914RLSA-2026:69876RLSA-2026:69923RLSA-2026:67848RLSA-2026:67280
- postgresql15 Alpine 3.22, Alpine 3.21 15.19-r0
- postgresql16 Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 16.15-r0
- postgresql17 Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 17.11-r0
- postgresql18 Alpine 3.24, Alpine 3.23 18.5-r0
alpine advisories ALPINE-CVE-2026-15741
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2026-15741 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-15741 updated cvss 8.0
postgresql: PostgreSQL: Privilege escalation via SQL injection in EXTRACT() deparse
-
Red Hat Enterprise Linux 6 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +2 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 pgaudit, pg_repack, postgresql, postgresql-test, postgresql-pltcl, postgresql-plperl, +7 moreaffected: workaround, no fix available
-
Red Hat Ansible Automation Platform 2.2 ansible-automation-platform/bootc-automation-portal-rhel9 1790657374fixed: vendor fix RHSA-2026:73404
-
Red Hat Enterprise Linux AppStream (v. 8) pgaudit 1.7.0-1.module+el8.9.0+19797+c4ce5969, pgaudit 16.0-1.module+el8.10.0+20413+d8116364, pg_repack 1.4.8-1.module+el8.9.0+19797+c4ce5969, pg_repack 1.5.1-1.module+el8.10.0+22551+c0330dc9, postgresql 15.19-1.module+el8.10.0+24831+9c841e4e, postgresql 16.15-1.module+el8.10.0+24863+d1dc0d60, +20 morefixed: vendor fix RHSA-2026:69923
-
Red Hat Enterprise Linux AppStream (v. 9) pgaudit 16.0-1.module+el9.8.0+24090+8f0ee565, pgaudit 18.0-1.module+el9.8.0+23739+1c42644c, pgaudit 1.7.0-1.module+el9.8.0+24091+17775505, postgis 3.5.3-6.module+el9.8.0+24839+3a67b9ca, postgis 3.6.1-4.module+el9.8.0+24879+1364ef12, pgvector 0.6.2-2.module+el9.8.0+24090+8f0ee565, +43 morefixed: vendor fix RHSA-2026:69914
-
Red Hat Enterprise Linux AppStream (v. 10) postgresql 16.15-1.el10_2, postgresql18 18.6-1.el10_2, postgresql16 16.15-1.el10_2, postgresql-test 16.15-1.el10_2, postgresql-pltcl 16.15-1.el10_2, postgresql18-test 18.6-1.el10_2, +12 morefixed: vendor fix RHSA-2026:70186
-
Red Hat Enterprise Linux AppStream AUS (v.8.4) pgaudit 1.4.0-6.module+el8.4.0+11288+c193d6d7, postgresql 12.22-1.module+el8.4.0+24949+926f0b6b.6, postgresql-test 12.22-1.module+el8.4.0+24949+926f0b6b.6, postgresql-pltcl 12.22-1.module+el8.4.0+24949+926f0b6b.6, postgresql-plperl 12.22-1.module+el8.4.0+24949+926f0b6b.6, postgresql-server 12.22-1.module+el8.4.0+24949+926f0b6b.6, +5 morefixed: vendor fix RHSA-2026:73912
-
Red Hat Enterprise Linux AppStream AUS (v.8.6) pgaudit 1.4.0-5.module+el8.5.0+11354+78b3c9c5, pg_repack 1.4.6-3.module+el8.5.0+11354+78b3c9c5, postgresql 12.22-1.module+el8.6.0+24946+5e4e9c0a.6, postgresql-test 12.22-1.module+el8.6.0+24946+5e4e9c0a.6, postgresql-pltcl 12.22-1.module+el8.6.0+24946+5e4e9c0a.6, postgresql-plperl 12.22-1.module+el8.6.0+24946+5e4e9c0a.6, +6 morefixed: vendor fix RHSA-2026:72363
show 12 moreshow fewer
-
Red Hat Enterprise Linux AppStream E4S (v.8.8) pgaudit 1.4.0-5.module+el8.5.0+11354+78b3c9c5, pgaudit 1.7.0-1.module+el8.8.0+17071+aaaceaa4, pg_repack 1.4.6-3.module+el8.5.0+11354+78b3c9c5, pg_repack 1.4.8-1.module+el8.8.0+17071+aaaceaa4, postgresql 15.19-1.module+el8.8.0+24926+55068be7, postgresql 12.22-1.module+el8.8.0+24947+3b6f2b4e.6, +19 morefixed: vendor fix RHSA-2026:72362
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) pgaudit 1.7.0-1.module+el9.2.0+17405+aeb9ec60, pg_repack 1.4.8-1.module+el9.2.0+17405+aeb9ec60, postgresql 15.19-1.module+el9.2.0+24900+35767d9a, postgresql-test 15.19-1.module+el9.2.0+24900+35767d9a, postgresql-pltcl 15.19-1.module+el9.2.0+24900+35767d9a, postgresql-plperl 15.19-1.module+el9.2.0+24900+35767d9a, +7 morefixed: vendor fix RHSA-2026:70763
-
Red Hat Enterprise Linux AppStream E4S (v.9.4) pgaudit 16.0-1.module+el9.4.0+20427+07482b8c, pgaudit 1.7.0-1.module+el9.2.0+17405+aeb9ec60, pg_repack 1.4.8-1.module+el9.2.0+17405+aeb9ec60, pg_repack 1.4.8-1.module+el9.4.0+20427+07482b8c, postgresql 15.19-1.module+el9.4.0+24899+b7f8fff2, postgresql 16.15-1.module+el9.4.0+24928+8c59a6c4, +20 morefixed: vendor fix RHSA-2026:70762
-
Red Hat Enterprise Linux AppStream EUS (v. 10.0) postgresql 16.15-1.el10_0, postgresql16 16.15-1.el10_0, postgresql-test 16.15-1.el10_0, postgresql-pltcl 16.15-1.el10_0, postgresql-plperl 16.15-1.el10_0, postgresql-server 16.15-1.el10_0, +4 morefixed: vendor fix RHSA-2026:72282
-
Red Hat Enterprise Linux AppStream EUS (v.9.6) pgaudit 16.0-1.module+el9.4.0+20427+07482b8c, pgaudit 1.7.0-1.module+el9.2.0+17405+aeb9ec60, pgvector 0.6.2-2.module+el9.6.0+22979+c3d78d52, pg_repack 1.4.8-2.module+el9.5.0+22224+f5585c78, pg_repack 1.5.1-1.module+el9.6.0+22880+6b241eec, postgresql 15.19-1.module+el9.6.0+24906+1a0a7a43, +21 morefixed: vendor fix RHSA-2026:69698
-
Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) pgaudit 1.4.0-6.module+el8.4.0+11288+c193d6d7, postgresql 12.22-1.module+el8.4.0+24949+926f0b6b.6, postgresql-test 12.22-1.module+el8.4.0+24949+926f0b6b.6, postgresql-pltcl 12.22-1.module+el8.4.0+24949+926f0b6b.6, postgresql-plperl 12.22-1.module+el8.4.0+24949+926f0b6b.6, postgresql-server 12.22-1.module+el8.4.0+24949+926f0b6b.6, +5 morefixed: vendor fix RHSA-2026:73912
-
Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6) pgaudit 1.4.0-5.module+el8.5.0+11354+78b3c9c5, pg_repack 1.4.6-3.module+el8.5.0+11354+78b3c9c5, postgresql 12.22-1.module+el8.6.0+24946+5e4e9c0a.6, postgresql-test 12.22-1.module+el8.6.0+24946+5e4e9c0a.6, postgresql-pltcl 12.22-1.module+el8.6.0+24946+5e4e9c0a.6, postgresql-plperl 12.22-1.module+el8.6.0+24946+5e4e9c0a.6, +6 morefixed: vendor fix RHSA-2026:72363
-
Red Hat Enterprise Linux AppStream TUS (v.8.8) pgaudit 1.4.0-5.module+el8.5.0+11354+78b3c9c5, pgaudit 1.7.0-1.module+el8.8.0+17071+aaaceaa4, pg_repack 1.4.6-3.module+el8.5.0+11354+78b3c9c5, pg_repack 1.4.8-1.module+el8.8.0+17071+aaaceaa4, postgresql 15.19-1.module+el8.8.0+24926+55068be7, postgresql 12.22-1.module+el8.8.0+24947+3b6f2b4e.6, +19 morefixed: vendor fix RHSA-2026:72362
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) postgresql-test-rpm-macros 16.15-1.el10_2, postgresql18-test-rpm-macros 18.6-1.el10_2fixed: vendor fix RHSA-2026:70186
-
Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) postgresql-test-rpm-macros 16.15-1.el10_0fixed: vendor fix RHSA-2026:72282
-
Red Hat Update Infrastructure 5 rhui5/rhua-rhel9 1790242004fixed: vendor fix RHSA-2026:71603
-
Red Hat Enterprise Linux 7 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +3 more Red Hat Enterprise Linux 9 postgresql, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, postgresql-contrib, +4 more Red Hat Hardened Images postgresql17, postgresql18 Red Hat Update Infrastructure 5 rhui5/cds-rhel9 1790241954, rhui5/haproxy-rhel9 1790241900, rhui5/installer-rhel9 1790241922, rhui5/cds-kubernetes-rhel9 1790241897not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2mo ago
Exploit prediction
0.44% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | postgresql | <14.24.0 >=15.0.0, <15.19.0 >=16.0.0, <16.15.0 >=17.0.0, <17.11.0 >=18.0.0, <18.5.0 |
14.24.0 15.19.0 16.15.0 17.11.0 18.5.0 |
Affected products
- n/a PostgreSQL
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
- Technology feeds
References
-
postgresql.org
/support/security/CVE-2026-15741/
vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-15741
web
Sources
- CVE List CVE-2026-15741
- NVD CVE-2026-15741
- OSV BIT-postgresql-2026-15741
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.