Servers and applications
CVE-2026-120154
PostgreSQL INSERT ... ON CONFLICT can read rows despite row security policies
- Severity
- Medium 4.3
- Published
- 12 Nov 2026
- Last changed
- 12 Nov 2026
- Added to UpHeron
- 13 Nov 2026
- Fixed in
- 14.25, 15.20, 16.16, 17.12, 18.7
- Weakness
- CWE-424
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N- Sources
- CVE Program
Description
Improper protection in PostgreSQL INSERT ... ON CONFLICT allows an attacker having INSERT, UPDATE, and applicable SELECT privileges on the table to read every row despite row security policies, via iterated INSERT ... ON CONFLICT DO UPDATE. Unlike CVE-2026-16237, this does not facilitate improper writes. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Affected software
| Software | Affected versions |
|---|---|
PostgreSQLServers and applications · cna:n/a|postgresql |
|
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-120154