{"id":"CVE-2025-5690","summary":"Cursor allows PostgreSQL Anonymizer masked user to gain unauthorized access to authentic data","details":"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","modified":"2026-07-15T01:49:05.465119759Z","published":"2025-06-04T21:34:47.358Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5690.json","cna_assigner":"PostgreSQL","cwe_ids":["CWE-200"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5690.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5690"},{"type":"REPORT","url":"https://gitlab.com/dalibo/postgresql_anonymizer/-/issues/531"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/dalibo/postgresql_anonymizer","events":[{"introduced":"c79d5b610629a197f1eb4c868168c8cba9db4868"},{"fixed":"cd28788d0dfb48615fc680dd36c021235b8c1c76"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"1"},{"fixed":"2.2.1"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5690.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}