CVE-2026-16237
Published:November 12, 2026
Updated:November 12, 2026
Improper protection in PostgreSQL INSERT ... ON CONFLICT on auto-updatable views allows an attacker having INSERT and UPDATE privileges on the view to read and modify every row in the view's base table, via iterated INSERT ... ON CONFLICT DO UPDATE. This bypasses the view's WHERE condition, whether or not the view is a security_barrier view. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Affected Packages
https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL9_5_ALPHA1 <REL_14_25 || >=REL9_6_BETA1 <REL_14_25 || >=REL_10_BETA1 <REL_14_25 || >=REL_11_BETA1 <REL_14_25 || >=REL_12_BETA1 <REL_14_25 || >=REL_13_BETA1 <REL_14_25 || >=REL_14_BETA1 <REL_14_25Fix Suggestion:
Update to version REL_14_25https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_15_BETA1 <REL_15_20Fix Suggestion:
Update to version REL_15_20https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_17_BETA1 <REL_17_12Fix Suggestion:
Update to version REL_17_12https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_16_BETA1 <REL_16_16Fix Suggestion:
Update to version REL_16_16https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_18_BETA1 <REL_18_7Fix Suggestion:
Update to version REL_18_7Related ResourcesĀ (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Protection of Alternate Path