Incorrect authorization in PostgreSQL - CVE-2026-120154

 

Incorrect authorization in PostgreSQL - CVE-2026-120154

Published: November 12, 2026


Vulnerability identifier: #VU166087
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-120154
CWE-ID: CWE-863
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to read every row in a table despite row security policies.

The vulnerability exists due to improper enforcement of row security policies in PostgreSQL's INSERT ... ON CONFLICT processing when handling conflicting inserts. A remote user can repeatedly execute INSERT ... ON CONFLICT DO UPDATE statements on a table for which they have INSERT, UPDATE, and applicable SELECT privileges to read rows that row security policies would otherwise restrict.


Affected software

PostgreSQL

How to mitigate CVE-2026-120154

Install security update from vendor's website.

PostgreSQL - addressed in versions 14.25, 15.20, 16.16, 17.12, 18.7

External References

Related Security Bulletins