{"id":"CVE-2026-14666","aliases":["CVE-2026-14666","BIT-POSTGRESQL-2026-14666"],"related":[],"kind":"vulnerability","state":"published","title":"PostgreSQL row security caching disregards role modifications","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-13T13:00:03.720Z","modified":"2026-09-08T08:47:47.450Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-1250"],"affected":[{"ranges":[{"type":"rpm","introduced":"18","fixed":"18.6","status":"affected"},{"type":"rpm","introduced":"17","fixed":"17.11","status":"affected"},{"type":"rpm","introduced":"16","fixed":"16.15","status":"affected"},{"type":"rpm","introduced":"15","fixed":"15.19","status":"affected"},{"type":"rpm","introduced":"0","fixed":"14.24","status":"affected"}],"product":"PostgreSQL","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"14.0","fixed":"14.24"},{"status":"affected","introduced":"15.0","fixed":"15.19"},{"status":"affected","introduced":"16.0","fixed":"16.15"},{"status":"affected","introduced":"17.0","fixed":"17.11"},{"status":"affected","introduced":"18.0","fixed":"18.5"}],"vendor":"postgresql","product":"postgresql","cpe":"cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"14.24.0"},{"type":"semver","introduced":"15.0.0","status":"affected","fixed":"15.19.0"},{"type":"semver","introduced":"16.0.0","status":"affected","fixed":"16.15.0"},{"type":"semver","introduced":"17.0.0","status":"affected","fixed":"17.11.0"},{"type":"semver","introduced":"18.0.0","status":"affected","fixed":"18.5.0"}],"ecosystem":"Bitnami","package":"postgresql","purl":"pkg:bitnami/postgresql","source":"bitnami"}],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2026-14666/","tags":["advisory","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-14666","tags":["web"],"sources":["bitnami"]}],"credits":["The PostgreSQL project thanks Staroverov Ilja and Shinya Kato for reporting this problem."],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-13T14:53:54.547Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-14666","url":"https://www.cve.org/CVERecord?id=CVE-2026-14666","licence":"CVE Terms of Use","modified":"2026-08-29T23:07:13.583Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-14666","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-14666","licence":"Public domain","modified":"2026-08-29T23:17:12.400Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-POSTGRESQL-2026-14666","url":"https://osv.dev/vulnerability/BIT-POSTGRESQL-2026-14666","licence":"Apache-2.0","modified":"2026-09-08T08:47:47.450Z"}],"updatedAt":"2026-11-25T22:59:32.713Z","epss":{"score":0.00175,"percentile":0.07363,"date":"2026-12-01T12:00:22.000Z"}}