Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with INSERT+UPDATE on auto-updatable view
-
ExploitIssue iterated INSERT ... ON CONFLICT DO UPDATE
-
ExecutionBypass view WHERE / security_barrier filter
-
ImpactRead and modify all base-table rows
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Alternate path protection
|
| Exploitation Conditions | Requires an auto-updatable PostgreSQL view whose WHERE condition (including security_barrier views) is used to confine a principal to a subset of base-table rows, and the attacker must already possess both INSERT and UPDATE privileges on that specific view. Exploitation is performed through iterated INSERT ... ON CONFLICT DO UPDATE statements. Limiting factors: the attacker must be authenticated and already granted INSERT+UPDATE on the view (PR:L), exposure is bounded to the base table underlying that view, there is no availability impact, and environments that do not rely on auto-updatable views for row-level confinement are not exposed. Running an affected version (before 18.7, 17.12, 16.16, 15.20, or 14.25) is required. |
| Impact | This is a moderate-severity authorization (row-filtering) bypass, not a high-urgency emergency. The vendor CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N, base 5.4) tells a consistent story: the attacker reaches PostgreSQL over the network but must already hold INSERT and UPDATE privileges on an auto-updatable view (PR:L), and the impact is partial read and write (C:L/I:L) limited to the base table behind that view, with no availability effect (A:N). The vuln.today decision label is 'this_month' - a routine patch cadence, not act_now/emergency. No EPSS score, CISA KEV listing, POC/exploit reference, or SSVC decision framework values were supplied in the input, so exploitation probability and automatability cannot be assessed from the data provided; absence of these is not evidence either way. The realistic risk is an insider or a compromised low-privilege database account that was intentionally confined to a row-filtered view (via WHERE / security_barrier) escalating to see and alter every row in the underlying base table. Note the 'Authentication Bypass' tag overstates the mechanism: this bypasses the view's WHERE row filter for an already-authenticated principal, so it is an access-control/authorization bypass rather than an authentication bypass - defenders should treat it as a privilege-confinement failure. |
| Exploit ScenarioDerived | A database user who has been deliberately restricted to a subset of rows through an auto-updatable view - granted only INSERT and UPDATE on that view - repeatedly issues INSERT ... ON CONFLICT DO UPDATE statements to probe and overwrite rows that the view's WHERE clause (even a security_barrier view) was meant to hide. Over successive iterations the attacker reads back and modifies every row in the view's base table, defeating the intended row-level confinement. No public exploit was identified in the provided data, and the attack requires the attacker to already hold valid INSERT and UPDATE privileges on the view. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
PostgreSQL improperly protects the INSERT ... ON CONFLICT path on auto-updatable views, allowing an authenticated user who already holds both INSERT and UPDATE privileges on a view to bypass the view's WHERE condition and read or modify rows in the view's base table. Iterated INSERT ... ON CONFLICT DO UPDATE statements can reach every row in the base table, and the bypass applies even when the view is defined with security_barrier. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected; this is a moderate-severity authorization and row-filtering bypass with CVSS 5.4, no confirmed active exploitation, and no public exploit identified at time of analysis.
RemediationAI
Upgrade to the fixed PostgreSQL release for your branch: 18.7, 17.12, 16.16, 15.20, or 14.25. The vendor advisory at https://www.postgresql.org/support/security/CVE-2026-16237/ should be reviewed before rollout. Until the upgrade is applied, restrict INSERT and UPDATE privileges on auto-updatable views that are used for row-level confinement, or replace those views with controlled functions or direct base-table access patterns that do not rely on the affected INSERT ... ON CONFLICT rewrite path; either workaround can break existing application write paths and should be validated in staging.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-424 (Improper Protection of Alternate Path) describes the root issue: PostgreSQL's auto-updatable view mechanism normally rewrites operations against a view into operations on its base table while applying the view's WHERE condition, but the INSERT ... ON CONFLICT DO UPDATE path does not preserve that protection. An attacker who can issue INSERT and UPDATE against the view can therefore use repeated INSERT ... ON CONFLICT DO UPDATE statements to operate on rows that should have been filtered out by the view definition. The bypass is explicitly noted to work whether or not the view is a security_barrier view, because security_barrier affects qualifier pushdown and leakproofness rather than this alternate write path. The CPE entry identifies PostgreSQL broadly (cpe:2.3:a:n/a:postgresql:*:*:*:*:*:*:*:*), and the authoritative advisory is the PostgreSQL security page for CVE-2026-16237.
Know when PostgreSQL gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Network-reachable database (AV:N) but attacker must already hold INSERT+UPDATE on the view (PR:L); partial read/write confined to one base table (C:L/I:L), no availability or scope change.
Primary rating from Vendor (PostgreSQL).
CVSS VectorVendor: PostgreSQL
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar
PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
EUVD-2026-124430
GHSA-wrm7-crvq-vpv9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB