Skip to content
Fencer Vulns
medium 4.2

CVE-2026-14666 json

PostgreSQL row security caching disregards role modifications

published 2026-08-13 2 mo ago modified 2026-09-08 2 mo ago also BIT-postgresql-2026-14666 , EUVD-2026-57834

cvss
4.2
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 11%
public exploits
0
none known

Summary

Incomplete tracking in PostgreSQL of changes to role membership, role attributes, and database ownership allows a query to continue using cached row-level security policies after those changes require a different policy, via plan reuse. Stale policies continue until some other event invalidates the cache or connection termination ends the session. This permits a user to complete reads and modifications that were recently permitted but now forbidden. An attacker must tailor an attack to a particular application's pattern of privilege removal and role-specific row security policies. 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-14666

  • 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-14666

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

  • 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

  • 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-14666

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • postgresql Azure Linux 3.0 16.15-1

azure linux advisories AZL-95726

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor 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-14666 updated cvss 4.2

postgresql: PostgreSQL: Row security caching disregards role modifications leading to unauthorized data access

  • Red Hat Enterprise Linux 8 pgaudit, pg_repack, postgresql, postgresql-test, postgresql-pltcl, postgresql-plperl, +7 more Red Hat Enterprise Linux 9 postgresql, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, postgresql-contrib, +4 more Red Hat Enterprise Linux 10 postgresql16, postgresql18 Red Hat Self-service automation portal 2 ansible-automation-platform/bootc-automation-portal-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Enterprise Linux 6 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +2 more Red Hat Enterprise Linux 7 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +3 more
    not affected: vulnerable code not present
  • Red Hat Hardened Images postgresql17, postgresql18, hi/postgresql
    not affected: component 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
partial
Assessed
2 mo ago

Exploit prediction

0.21% chance of exploitation in the next 30 days, higher than 11% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.2 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
OSV 3.1 4.2 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

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-1250 Improper Preservation of Consistency Between Independent Representations of Shared State
Technology feeds

References

Sources

Fencer Vulns 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.