Technical impact
The PostgreSQL Anonymizer module fails to mask data that is retrieved through a sub‑query within a masking rule. As a result, a role that is intended only to receive anonymised data can read the original, authentic data, violating confidentiality. This flaw is a classic case of missing authorization control and is listed as CWE-862.
Affected Systems
The vulnerability affects the Dalibo PostgreSQL Anonymizer extension for PostgreSQL. Versions released before 3.3.0 do not filter sub‑query results in masking rules. The issue is resolved in PostgreSQL Anonymizer 3.3.0 and any later releases.
Risk and Exploitability
The CVSS score of 6.5 indicates moderate severity. No EPSS score is available, and the flaw is not listed in the CISA KEV catalog, suggesting limited public exploitation data. Affected users typically need database access and the ability to query masked tables; thus the attack requires legitimate database privileges or the ability to modify mask rules. Because the flaw leaks authentic data to a role that should receive only anonymised values, the impact is significant for confidentiality but depends on the privilege level of the attacker.