Row-Level Security Flaw in PostgreSQL by PostgreSQL Global Development Group
CVE-2026-14666

4.2MEDIUM

What is CVE-2026-14666?

This vulnerability arises from insufficient tracking in PostgreSQL of changes made to role memberships, attributes, and database ownership. As a result, queries may continue to operate with outdated row-level security policies even after changes demand a different policy due to caching. This allows some users the ability to perform reads and modifications that were recently permitted but are now prohibited. Attackers need to exploit this flaw by tailoring their methods to specific applications that rely on privilege adjustments and role-based row security policies. Notably, any session using a cached query can be compromised until an event occurs that invalidates the cache or the connection is terminated.

Affected Version(s)

PostgreSQL 18 < 18.5

PostgreSQL 17 < 17.11

PostgreSQL 16 < 16.15

References

CVSS V3.1

Score:
4.2
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

The PostgreSQL project thanks Staroverov Ilja and Shinya Kato for reporting this problem.
.