{"id":"BIT-postgresql-2026-14666","summary":"PostgreSQL row security caching disregards role modifications","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.5, 17.11, 16.15, 15.19, and 14.24 are affected.","aliases":["CVE-2026-14666"],"modified":"2026-08-19T09:45:19.397445900Z","published":"2026-08-19T08:52:32.351Z","database_specific":{"severity":"Medium","cpes":["cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*"]},"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-14666"},{"type":"WEB","url":"https://www.postgresql.org/support/security/CVE-2026-14666/"}],"affected":[{"package":{"name":"postgresql","ecosystem":"Bitnami","purl":"pkg:bitnami/postgresql"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"14.24.0"},{"introduced":"15.0.0"},{"fixed":"15.19.0"},{"introduced":"16.0.0"},{"fixed":"16.15.0"},{"introduced":"17.0.0"},{"fixed":"17.11.0"},{"introduced":"18.0.0"},{"fixed":"18.5.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/postgresql/BIT-postgresql-2026-14666.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}],"schema_version":"1.9.0"}