Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as masked PostgreSQL role
-
ExploitAccess data through a security_invoker view
-
ExecutionAnonymizer masking not applied
-
ImpactRead unmasked sensitive data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that data be accessed through a PostgreSQL view created with the security_invoker option (a view that runs with the querying user's privileges rather than the view owner's); when a masked role reads through such a view, PostgreSQL Anonymizer fails to apply its masking rules and returns unmasked values. Limiting factors: the attacker must be an authenticated database user subject to masking (PR:L), a security_invoker view over the protected data must exist, and the affected version must be earlier than 3.3.0. These conditions mean the risk is primarily exposure of sensitive data to already-authenticated low-privilege roles rather than remote unauthenticated access; the exact trigger steps are not detailed in the available sources. |
| Impact | Signals are moderate and internally consistent rather than alarming. The CVSS 3.1 base score is 4.8 (Medium) with vector AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N - high confidentiality impact but gated behind an authenticated low-privileged account (PR:L), high attack complexity (AC:H) and required user interaction (UI:R). No EPSS probability and no KEV status were supplied, and CISA has not listed this; the vuln.today decision label is 'this_month', i.e. patch on a routine monthly cycle, not an emergency. There is no SSVC breakdown in the input. The single reference is the vendor's GitLab issue tracker (issue 697), which is an advisory/report, not verified exploit code, so there is no public exploit identified at time of analysis. Note a signal conflict worth flagging: the Tags call this 'Authentication Bypass', but CWE-862 (Missing Authorization) and the description (masked data is exposed to a role that should only see masked values) make this an authorization/data-masking bypass, not authentication - treat it as an access-control exposure. Net: a real but bounded issue. The exposure is of sensitive data to database users who already have authenticated, low-privilege access and can reach a security_invoker view, i.e. closer to insider/authorized-user data leakage than remote mass exploitation. Prioritize patching but it is not a high-urgency internet-facing emergency. |
| Exploit ScenarioDerived | A low-privileged PostgreSQL role that is supposed to see only anonymized output queries sensitive columns through a view defined with the security_invoker option and receives the original, unmasked values instead of the masked ones. This defeats the intended data-masking guarantee for that role. No public exploit code is available; the issue is documented only in the vendor's GitLab issue tracker. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 28, 2026
PostgreSQL Anonymizer before 3.3.0 can return unmasked values when an authenticated low-privilege database user, who should be subject to masking, reads protected data through a view created with the security_invoker option. The masking rules are not applied on that access path, so sensitive column data is exposed despite the role being configured to see only masked output. Exploitation requires an affected deployment with an existing security_invoker view over the protected data; no public exploit identified at time of analysis, and the flaw is resolved in 3.3.0 and later.
RemediationAI
Vendor-released patch: PostgreSQL Anonymizer 3.3.0 and later. Upgrade affected installations to 3.3.0 or later; the upstream issue is at https://gitlab.com/dalibo/postgresql_anonymizer/-/issues/697. If an immediate upgrade is not possible, audit and restrict security_invoker views that expose protected data and limit access to roles that must not receive unmasked values, recognizing that this may break applications relying on those views and is only a compensating control.
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 Anonymizer is a Dalibo extension that applies masking and anonymization rules to PostgreSQL data for roles that should not see raw values. The affected feature is PostgreSQL's security_invoker view option, which causes a view to execute with the querying user's privileges rather than the view owner's; in this case, Anonymizer does not enforce its masking rules when data is accessed through such a view. CWE-862 (Missing Authorization) is the relevant root-cause class: an authorization decision that should gate access to unmasked data is not applied on the security_invoker path. The CPE cpe:2.3:a:dalibo:postgresql_anonymizer:*:*:*:*:*:*:*:* covers the extension before 3.3.0; the supplied issue reference does not describe the exact trigger steps beyond the security_invoker view condition.
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:H/PR:L/UI:R/S:U/C:H/I:N/A:N
An authenticated masked role reads unmasked sensitive data via a security_invoker view (PR:L, C:H), with no integrity or availability impact; no evidence supports the input's AC:H or UI:R, so AC:L/UI:N.
Primary rating from Vendor (PostgreSQL).
CVSS VectorVendor: PostgreSQL
Lifecycle Timeline
1DescriptionCVE.org
PostgreSQL Anonymizer doesn't mask data accessed thru a security_invoker view. The problem is resolved in PostgreSQL Anonymizer 3.3.0 and later versions.
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-112291
GHSA-322m-rvmj-q79h
NVD
CVE.org
Exploit-DB