Vulnerability · Published Jun 4, 2025 · Assigned by PostgreSQL
CVE-2025-5690Cursor allows PostgreSQL Anonymizer masked user to gain unauthorized access to authentic data
Medium 6.5
In plain English
A medium-severity information exposure in PostgreSQL Anonymizer from DALIBO. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities).
Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.4%top 69.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
PostgreSQL Anonymizer v2.0 and v2.1 contain a vulnerability that allows a masked user to bypass the masking rules defined on a table and read the original data using a database cursor or the --insert option of pg_dump. This problem occurs only when dynamic masking is enabled, which is not the default setting. The problem is resolved in version 2.2.1
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| DALIBO | PostgreSQL Anonymizer | 1 – before 2.2.1 |
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N