CVE-2026-11945: PostgreSQL Anonymizer: SQL injection in the rules import functions

Published Jun 11, 2026
·
Updated

PostgreSQL Anonymizer contains a vulnerability that allows a user to gain superuser privileges by creating a JSON document and placing malicious code inside a particular key-value pair. If a superuser calls the importdatabaserules() or importrolesrules() functions, the malicious code is executed with superuser privileges. The problem is resolved in PostgreSQL Anonymizer 3.1.1 and further versions

Affected Software

2 affected components
PostgreSQL Anonymizer<3.1.1
Dalibo Postgresql Anonymizer Postgresql<3.1.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade PostgreSQL Anonymizer to a version that resolves this vulnerability.

    Fixed in 3.1.1

Event History

Jun 11, 2026
CVE Published
via MITRE·03:53 PM
Data Sourced
via MITRE·03:53 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-11945?

The severity of CVE-2026-11945 is rated as medium with a score of 6.4.

2

How do I fix CVE-2026-11945?

To fix CVE-2026-11945, ensure that the import_database_rules() and import_roles_rules() functions are not called by untrusted users and sanitize all JSON inputs.

3

What types of attacks does CVE-2026-11945 enable?

CVE-2026-11945 enables SQL injection attacks that can lead to the elevation of user privileges to superuser status.

4

Which software is affected by CVE-2026-11945?

CVE-2026-11945 affects the PostgreSQL Anonymizer software.

5

What are the potential consequences of CVE-2026-11945?

The potential consequences of CVE-2026-11945 include unauthorized access and control over the PostgreSQL database through superuser privileges.

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