{"id":"CVE-2025-5690","aliases":["EUVD-2025-16928","GHSA-f87m-rhgw-vj35"],"status":"published","title":"Cursor allows PostgreSQL Anonymizer masked user to gain unauthorized access to authentic data","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","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00364,"percentile":0.30544,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-200"],"published":"2025-06-04T21:34:47Z","modified":"2026-10-28T02:30:49Z","products":[{"vendor":"dalibo","product":"postgresql anonymizer"}],"references":[{"url":"https://gitlab.com/dalibo/postgresql_anonymizer/-/issues/531","tags":["report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5690","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-f87m-rhgw-vj35"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5690.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-5690","title":"Cursor allows PostgreSQL Anonymizer masked user to gain unauthorized access to authentic data","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","status":"published","published":"2025-06-04T21:34:47.358Z","modified":"2025-06-05T18:10:03.492Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:32:29.97618Z"}],"euvd":[{"id":"EUVD-2025-16928","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","status":"published","published":"2025-06-04T21:34:47Z","modified":"2025-06-05T18:10:03Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T20:32:29.13667Z"}],"ghsa":[{"id":"GHSA-f87m-rhgw-vj35","title":"PostgreSQL Anonymizer v2.0 and v2.1 contain a vulnerability that allows a masked user to bypass...","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","status":"published","published":"2025-06-05T00:31:20Z","modified":"2025-06-05T00:31:20Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T15:02:34.475579Z"}],"nvd":[{"id":"CVE-2025-5690","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","status":"published","published":"2025-06-04T22:15:26.47Z","modified":"2026-06-17T09:48:33.703Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:11:10.8732Z"}],"osv":[{"id":"CVE-2025-5690","title":"Cursor allows PostgreSQL Anonymizer masked user to gain unauthorized access to authentic data","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","status":"published","published":"2025-06-04T21:34:47.358Z","modified":"2026-10-28T02:30:49.089725661Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T15:44:51.190588Z"}]}}
