CVE-2025-5690: Cursor allows PostgreSQL Anonymizer masked user to gain unauthorized access to authentic data

Published Jun 4, 2025
·
Updated

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 pgdump. 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 Software

1 affected component
PostgreSQL Anonymizer>=2.0<=2.1

Event History

Jun 4, 2025
CVE Published
via MITRE·09:34 PM
Data Sourced
via MITRE·09:34 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeakness
Aug 30, 57482
Event
via FIRST·11:19 AM

Frequently Asked Questions

1

What is the severity of CVE-2025-5690?

The severity of CVE-2025-5690 is considered high due to the potential for sensitive data exposure.

2

How do I fix CVE-2025-5690?

To fix CVE-2025-5690, disable dynamic masking in PostgreSQL Anonymizer version 2.0 and 2.1 or upgrade to a patched version.

3

Who is affected by CVE-2025-5690?

CVE-2025-5690 affects users of PostgreSQL Anonymizer versions 2.0 and 2.1 when dynamic masking is enabled.

4

What types of data can be exposed due to CVE-2025-5690?

CVE-2025-5690 can lead to exposure of original data that should be masked according to the defined rules.

5

Is there a workaround for CVE-2025-5690?

Currently, the best workaround for CVE-2025-5690 is to disable dynamic masking until a fix is applied.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203