CVE-2026-120154

PostgreSQL INSERT ... ON CONFLICT can read rows despite row security policies

Published Nov 12, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Postgresql
Postgresql postgresql
Weaknesses CWE-268
Vendors & Products Postgresql
Postgresql postgresql
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
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.
Title PostgreSQL INSERT ... ON CONFLICT can read rows despite row security policies
Weaknesses CWE-424
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
PostgreSQL
Published
Updated
Nov 12, 2026, 9:42 PM
Reserved
Oct 30, 2026, 10:45 PM
Status
Awaiting Analysis
Published
Nov 12, 2026, 3:17 PM
Modified
Nov 12, 2026, 10:19 PM
Severity
Moderate
Public date
Nov 12, 2026, 2:15 PM