Incorrect authorization in PostgreSQL - CVE-2026-16237
Published: November 12, 2026
Vulnerability details
The vulnerability allows a remote user to read and modify rows in a view's base table that should be excluded by the view's WHERE condition.
The vulnerability exists due to improper authorization in PostgreSQL's handling of INSERT ... ON CONFLICT on auto-updatable views when processing conflicting inserts. A remote user can issue repeated INSERT ... ON CONFLICT DO UPDATE statements with INSERT and UPDATE privileges on the view to bypass its WHERE condition and read and modify every row in the underlying base table.
The bypass applies whether or not the view is a security_barrier view.