CVE-2026-14666

PostgreSQL row security caching disregards role modifications

MEDIUM 4.2

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
PostgreSQL
NVD status
Modified

Description

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.

Weaknesses (CWE)

  • CWE-1250 — Improper Preservation of Consistency Between Independent Representations of Shared State

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 4.2CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NPostgreSQL
CVSS 3.1MEDIUM 4.2CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NNVD · f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
PostgreSQLaffected 18 < 18.6 ; affected 17 < 17.11 ; affected 16 < 16.15 ; affected 15 < 15.19 ; affected 0 < 14.24

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD