Superuser SQL execution via unescaped JSON object names
Published Sep 6, 2026 · Updated Sep 9, 2026
SQL injection in PostgreSQL Anonymizer before 3.1.4 allows context-dependent attackers to execute SQL through imported JSON object names. The to_seclabel() routine inserts JSON-derived schema, role, function, table, view, and column names into one-line SQL without identifier escaping, so a trailing comment discards the remaining statement. A superuser must import the attacker-influenced rules; injected statements then run with that superuser's database privileges.
Summary
What happened
SQL injection in PostgreSQL Anonymizer before 3.1.4 allows context-dependent attackers to execute SQL through imported JSON object names. The to_seclabel() routine inserts JSON-derived schema, role, function, table, view, and column names into one-line SQL without identifier escaping, so a trailing comment discards the remaining statement. A superuser must import the attacker-influenced rules; injected statements then run with that superuser's database privileges.
The record
- CVE
- CVE-2026-19634
- Published
- Sep 6, 2026
- Updated
- Sep 9, 2026
- Vendor
- DALIBO
- Product
- PostgreSQL Anonymizer
- Classifications
- CWE-89, T1204.002
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 6, 2026CVE publishedPublication date reported by the CVE source.
- Sep 9, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1 <3.1.4
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- PostgreSQL Anonymizer issue 665 reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo