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

Read the record on cve.org

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.

ProductVersions
PostgreSQL n/a18 to before 18.7 Affected17 to before 17.12 Affected16 to before 16.16 Affected15 to before 15.20 Affectedbefore 14.25 Affected

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.