CVE-2026-14666
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.5, 17.11, 16.15, 15.19, and 14.24 are affected.
Scoring
- Severity
- MEDIUM
- CVSS base score
- 4.2
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
- EPSS probability
- 0.18%
- CWE
- CWE-1250
- Published
- 2026-08-13
- Last modified
- 2026-08-29
Affected products
- n/a PostgreSQL
- n/a PostgreSQL
- n/a PostgreSQL
- n/a PostgreSQL
- n/a PostgreSQL
Weakness type
Related vulnerabilities
- CVE-2025-32899 — In KDE Connect before 1.33.0 on Android, a packet can be crafted that causes two paired devices to...
- CVE-2025-30189 — When cache is enabled, some passdb/userdb drivers incorrectly cache all users with same cache key,...
- CVE-2024-10976 — PostgreSQL row security below e.g. subqueries disregards user ID changes
- CVE-2023-22405 — Junos OS: QFX5k Series, EX46xx Series: MAC limiting feature stops working after PFE restart or device reboot
- CVE-2022-22234 — Junos OS: EX2300 and EX3400 Series: One of more SFPs might become unavailable when the system is very busy