PostgreSQL INSERT ... ON CONFLICT can read rows despite row security policies
- State
- Published
- Severity
- 4.3 Medium
- Published
- Nov 12, 2026
- Updated
- Nov 12, 2026
- Reserved
- Oct 30, 2026
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.
| Product | Versions |
|---|---|
| PostgreSQL n/a | 18 to before 18.7 Affected17 to before 17.12 Affected16 to before 16.16 Affected15 to before 15.20 Affectedbefore 14.25 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 4.3 Medium | PostgreSQL |
Weaknesses
- CWE-424 Improper Protection of Alternate Path
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.