CVE-2026-19633

8.8

DALIBO · PostgreSQL Anonymizer

A vulnerability in PostgreSQL Anonymizer allows authenticated, low-privileged users to execute arbitrary code via malicious SQL operators, domain casts, or subqueries.

Executive summary

A high-severity flaw in PostgreSQL Anonymizer allows low-privileged users to achieve remote code execution, posing a significant threat to database integrity and system security.

Vulnerability

The vulnerability is an SQL injection flaw, classified as CWE-89, where untrusted expressions in operators, domain casts, or view subqueries are improperly neutralized. This allows an authenticated user with low privileges to trigger code execution with the elevated permissions of the database extension.

Business impact

The ability for an unprivileged user to execute arbitrary code within the database context presents a severe risk of full system compromise. Successful exploitation could lead to unauthorized data exfiltration, modification of sensitive records, or complete denial of service. With a CVSS score of 8.8, this vulnerability is categorized as high severity and requires immediate attention to prevent lateral movement within the database environment.

Remediation

Immediate Action: Upgrade the PostgreSQL Anonymizer extension to version 3.1.4 or later to apply the necessary security patches.

Proactive Monitoring: Review database access logs for suspicious query patterns, particularly those involving unusual domain casts or complex subqueries initiated by low-privileged accounts.

Compensating Controls: Implement strict role-based access controls to limit the number of users with permissions to define or interact with masking objects until the patch is applied.

Exploitation status

Public Exploit Available: No (exploit_available: false)

Analyst recommendation

This vulnerability represents a critical security gap for any organization utilizing PostgreSQL Anonymizer for data masking. Given the potential for privilege escalation and arbitrary code execution, administrators should prioritize the update to version 3.1.4 in their next maintenance cycle. Failure to remediate could allow attackers to bypass intended security boundaries and gain unauthorized control over the database server.

Sources

Originally found and disclosed by The PostgreSQL Anonymizer project thanks user Sarath Kumar for reporting this problem., per the CVE Program record.