Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged DB user
-
DeliveryTarget RLS-protected table with INSERT/UPDATE/SELECT rights
-
ExploitIterate INSERT ... ON CONFLICT DO UPDATE
-
ExecutionObserve conflict behavior to read hidden rows
-
ImpactExfiltrate data bypassing row security policy
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Alternate path protection
|
| Exploitation Conditions | Exploitation requires an authenticated PostgreSQL user who already holds INSERT, UPDATE, and the applicable SELECT privileges on the target table, and the target table must have row-level security (row security policies) enabled - otherwise there is nothing to bypass. The specific trigger is iterated INSERT ... ON CONFLICT DO UPDATE statements used to read rows the RLS policy should restrict. Limiting factors: this is not remotely exploitable by an unauthenticated attacker (PR:L); it only exposes data in tables where RLS is both in use and relied upon for confidentiality; impact is read-only (the advisory states it does not facilitate improper writes); and it is bounded to data reachable through the abused table. Deployments that do not use row security policies are not affected in practice. |
| Impact | This is a genuinely moderate, not high-urgency, issue and the signals are internally consistent. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N, base 4.3) describes a network-reachable but privileged (PR:L) flaw with limited confidentiality impact and no integrity or availability impact - matching a read-only row-security-policy bypass. The vuln.today decision label is 'this_month', not 'act_now' or 'emergency', consistent with the low-moderate score. No EPSS score, no CISA KEV listing, and no PoC reference are present in the input, so exploitation status is 'no public exploit identified at time of analysis'. The attacker is not an outsider: PR:L plus the description's requirement for INSERT, UPDATE, and SELECT privileges means an already-authenticated database user who abuses legitimate access to read rows row-level security (RLS) was meant to hide. The description explicitly scopes impact to improper reads and contrasts this with CVE-2026-16237 ('this does not facilitate improper writes'), which aligns with I:N/A:N. Net: a real correctness/confidentiality defect worth patching on a normal cycle, but not an internet-facing unauthenticated emergency; its relevance is limited to deployments that actually use row security policies. |
| Exploit ScenarioDerived | A low-privileged but authenticated database user who holds INSERT, UPDATE, and SELECT rights on a table protected by row-level security issues repeated INSERT ... ON CONFLICT DO UPDATE statements, using the conflict-handling path to infer and read rows that their row security policy should hide. The attack is remote over a normal database connection (AV:N) and low-complexity (AC:L), but confined to data readable through this one table. No public exploit code is identified at time of analysis, though the technique is described concretely enough to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
Row-level security bypass in PostgreSQL 14.x through 18.x lets an authenticated database user who already holds INSERT, UPDATE, and the applicable SELECT privileges on a table read every row of that table despite row security policies, by iterating INSERT ... ON CONFLICT DO UPDATE statements against it. Exposure is limited to tables where row-level security is actually enabled and relied upon for confidentiality, and the flaw is read-only - the advisory states it does not facilitate improper writes, unlike CVE-2026-16237. Vendor fixes are published in PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25; no public exploit code has been identified at time of analysis, and EPSS scoring was not available in the supplied data.
RemediationAI
Vendor-released patch: upgrade to PostgreSQL 18.7, 17.12, 16.16, 15.20, or 14.25 according to your release branch, as documented at https://www.postgresql.org/support/security/CVE-2026-120154/. Until the upgrade is applied, exposure can be reduced by removing the enabling prerequisites the assessment identifies: revoke INSERT and UPDATE privileges from roles that do not genuinely need to write to RLS-protected tables, and avoid treating RLS as the sole confidentiality control for tables where untrusted roles already hold INSERT, UPDATE, and SELECT - the trade-off is reduced application functionality or the need to move sensitive filtering into views or separate schemas. Because the bypass requires row security policies on the target table, environments that do not use RLS require no compensating action beyond normal patching. Audit logs for iterated INSERT ... ON CONFLICT DO UPDATE activity against RLS-protected tables from low-trust roles as a detection measure, noting that this produces only detective, not preventive, coverage.
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
PostgreSQL row-level security (RLS) attaches per-command policies to a table so that SELECT, INSERT, UPDATE, and DELETE each see only the rows their policy permits. The flaw is classified as CWE-424, Improper Protection of Alternate Path: the INSERT ... ON CONFLICT DO UPDATE ("upsert") code path reaches existing rows through a route whose policy enforcement does not match the primary SELECT path, so a user can pull back row contents that their SELECT policy should have filtered. Per the independent assessment, the trigger is specifically iterated upsert statements used to read restricted rows, and the behaviour is confined to the data reachable through the abused table; the sources do not document further implementation detail of the policy check. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N confirms this is a network-reachable, low-complexity issue requiring authenticated privileges (PR:L) with no user interaction, scored only for partial confidentiality impact and no integrity or availability impact - consistent with a read-only bypass. Affected CPE coverage is the generic PostgreSQL entry (cpe:2.3:a:n/a:postgresql:*:*:*:*:*:*:*:*), and the practical precondition is that RLS be in use and treated as a confidentiality boundary; deployments without row security policies are not affected in practice.
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:N/A:N
Authenticated user needs table privileges (PR:L) over a normal network connection (AV:N/AC:L); read-only RLS bypass gives limited confidentiality (C:L) with no integrity or availability impact.
Primary rating from Vendor (PostgreSQL).
CVSS VectorVendor: PostgreSQL
Lifecycle Timeline
2DescriptionCVE.org
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.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-124428
GHSA-9pxp-38rf-5pgv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB