CVE-2026-11945: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in DALIBO PostgreSQL Anonymizer
PostgreSQL Anonymizer versions prior to 3.1.1 contain an SQL injection vulnerability that allows privilege escalation to superuser. The vulnerability occurs when a superuser calls import_database_rules() or import_roles_rules() with a crafted JSON document containing malicious code in a key-value pair. This code executes with superuser privileges. The issue is fixed in version 3.1.1 and later.
AI Analysis
Technical Summary
CVE-2026-11945 is an SQL injection vulnerability in DALIBO's PostgreSQL Anonymizer. It allows an attacker to escalate privileges to superuser by embedding malicious code inside a JSON document's key-value pair. When a superuser invokes the import_database_rules() or import_roles_rules() functions, the malicious code executes with superuser privileges. This vulnerability affects all versions prior to 3.1.1. The vulnerability has a CVSS 3.1 base score of 6.4, indicating medium severity. No known exploits in the wild have been reported. The issue is resolved in PostgreSQL Anonymizer version 3.1.1 and later.
Potential Impact
Successful exploitation results in execution of arbitrary code with superuser privileges, leading to full control over the PostgreSQL Anonymizer environment. This can compromise confidentiality, integrity, and availability of the database and associated systems.
Mitigation Recommendations
Upgrade PostgreSQL Anonymizer to version 3.1.1 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is documented. Users should avoid invoking import_database_rules() or import_roles_rules() with untrusted JSON documents until patched.
CVE-2026-11945: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in DALIBO PostgreSQL Anonymizer
Description
PostgreSQL Anonymizer versions prior to 3.1.1 contain an SQL injection vulnerability that allows privilege escalation to superuser. The vulnerability occurs when a superuser calls import_database_rules() or import_roles_rules() with a crafted JSON document containing malicious code in a key-value pair. This code executes with superuser privileges. The issue is fixed in version 3.1.1 and later.
CVSS v3.1
Score 6.4medium
Affected software
pkg:github/dalibo/postgresql_anonymizerRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-11945 is an SQL injection vulnerability in DALIBO's PostgreSQL Anonymizer. It allows an attacker to escalate privileges to superuser by embedding malicious code inside a JSON document's key-value pair. When a superuser invokes the import_database_rules() or import_roles_rules() functions, the malicious code executes with superuser privileges. This vulnerability affects all versions prior to 3.1.1. The vulnerability has a CVSS 3.1 base score of 6.4, indicating medium severity. No known exploits in the wild have been reported. The issue is resolved in PostgreSQL Anonymizer version 3.1.1 and later.
Potential Impact
Successful exploitation results in execution of arbitrary code with superuser privileges, leading to full control over the PostgreSQL Anonymizer environment. This can compromise confidentiality, integrity, and availability of the database and associated systems.
Mitigation Recommendations
Upgrade PostgreSQL Anonymizer to version 3.1.1 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is documented. Users should avoid invoking import_database_rules() or import_roles_rules() with untrusted JSON documents until patched.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PostgreSQL
- Date Reserved
- 2026-06-10T21:28:53.029Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2ae619815e7002b80ac451
Added to database: 06/11/2026, 16:45:13 UTC
Last enriched: 06/18/2026, 17:59:43 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 87
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.