{"id":"JLSEC-2026-1578","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-12-01T14:45:03.480653052Z","published":"2026-12-01T14:32:39.787Z","upstream":["CVE-2026-14666"],"database_specific":{"license":"CC-BY-4.0","sources":[{"id":"CVE-2026-14666","imported":"2026-11-21T04:27:54.378Z","modified":"2026-08-29T23:17:12.400Z","published":"2026-08-13T13:17:43.993Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-14666","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-14666","database_specific":{"status":"Modified"},"affected":{"postgresql:postgresql":["\u003e= 14.0, \u003c 14.24","\u003e= 15.0, \u003c 15.19","\u003e= 16.0, \u003c 16.15","\u003e= 17.0, \u003c 17.11","\u003e= 18.0, \u003c 18.5"]}}]},"references":[{"type":"WEB","url":"https://www.postgresql.org/support/security/CVE-2026-14666/"}],"affected":[{"package":{"name":"LibPQ_jll","ecosystem":"Julia","purl":"pkg:julia/LibPQ_jll?uuid=08be9ffa-1c94-5ee5-a977-46a84ec9b350"},"ranges":[{"type":"SEMVER","events":[{"introduced":"16.0.0+0"},{"last_affected":"16.14.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1578.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","source":"CNA"}]}