CVE-2026-14666
JSON

4.2medium

PostgreSQL row security caching disregards role modifications

Severity
4.2medium CVSS:3.1 by PostgreSQL
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PostgreSQL
Also known as
BIT-POSTGRESQL-2026-14666

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.

Affected

Product or packageVersionsReported by
PostgreSQLfrom 18 before 18.6, from 17 before 17.11, from 16 before 16.15, from 15 before 15.19, before 14.24CVE List
postgresql postgresqlfrom 14.0 before 14.24, from 15.0 before 15.19, from 16.0 before 16.15, from 17.0 before 17.11, from 18.0 before 18.5NVD
postgresql (Bitnami)before 14.24.0, from 15.0.0 before 15.19.0, from 16.0.0 before 16.15.0, from 17.0.0 before 17.11.0, from 18.0.0 before 18.5.0Bitnami Vulnerability Database

All scores

PostgreSQL4.2medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-1250

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-14666 changed 2026-08-29CVE Terms of Use
NVDCVE-2026-14666 changed 2026-08-29Public domain
Bitnami Vulnerability DatabaseBIT-POSTGRESQL-2026-14666 changed 2026-09-08Apache-2.0