{"id":"DEBIAN-CVE-2026-14666","details":"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.","modified":"2026-09-14T17:02:45.693354299Z","published":"2026-08-13T13:17:43.993Z","upstream":["CVE-2026-14666"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-14666"}],"affected":[{"package":{"name":"postgresql-15","ecosystem":"Debian:12","purl":"pkg:deb/debian/postgresql-15?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.19-0+deb12u1"}]}],"versions":["15.10-0+deb12u1","15.11-0+deb12u1","15.12-0+deb12u1","15.12-0+deb12u2","15.13-0+deb12u1","15.14-0+deb12u1","15.15-0+deb12u1","15.16-0+deb12u1","15.17-0+deb12u1","15.18-0+deb12u1","15.3-0+deb12u1","15.3-1","15.4-0+deb12u1","15.4-1","15.4-2","15.4-3","15.5-0+deb12u1","15.6-0+deb12u1","15.7-0+deb12u1","15.8-0+deb12u1","15.9-0+deb12u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-14666.json"}},{"package":{"name":"postgresql-17","ecosystem":"Debian:13","purl":"pkg:deb/debian/postgresql-17?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"17.11-0+deb13u1"}]}],"versions":["17.10-0+deb13u1","17.5-1","17.6-0+deb13u1","17.6-1","17.7-0+deb13u1","17.8-0+deb13u1","17.9-0+deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-14666.json"}},{"package":{"name":"postgresql-18","ecosystem":"Debian:14","purl":"pkg:deb/debian/postgresql-18?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.6-1"}]}],"versions":["18.0-1","18.1-1","18.1-2","18.2-1","18.3-1","18.4-1","18~beta1+20250612-1","18~beta1+20250624-1","18~beta1+20250701-1","18~beta1-1","18~beta2-1","18~beta3-1","18~rc1-1","18~rc1-2","18~rc1-3","18~~devel.20250318+g4078da6c478-1","18~~devel.20250331-1","18~~devel.20250405-1","18~~devel.20250421-1","18~~devel.20250502-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-14666.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}