CVE-2026-105615

PostgreSQL Anonymizer: Masked roles can read the statistics of masked columns in pg_stats

Published Oct 28, 2026 CVSS 3.1 · 3.5 Low EPSS < 1% KEV · Not listed
Description
PostgreSQL's optimized statistics on a table are visible as long as you have SELECT privilege on said table. A masked role can therefore read a limited subset of the data through the statistics view's histograms and mcvs. The vulnerability is resolved in PostgreSQL Anonymizer 3.3.0 and later versions.

Analysis

AI-generated

Technical impact

The vulnerability allows masked roles to read PostgreSQL statistics on masked columns, exposing histogram and mean‑confidence values that reveal limited information about the underlying data. This results in a modest data‑exposure risk, as the attacker gains indirect insight but not direct data access.

Affected Systems

The issue affects the PostgreSQL Anonymizer from DALIBO. Versions below 3.3.0 are impacted, with the fix brought in version 3.3.0 and later. No specific version range is listed beyond the upgrade requirement.

Risk and Exploitability

The CVSS score of 3.5 classifies this as low severity. EPSS is not available and the vulnerability is not listed in the CISA KEV catalog, indicating a low likelihood of widespread exploitation. The attack vector is inferred to involve a user with SELECT privileges on the target table, with the masked role inheriting that privilege to access pg_stats.

Remediation

Vendor Workaround

For sensitive columns, statitics can be disabled with `ALTER TABLE my_table ALTER COLUMN my_col SET STATISTICS 0; ANALYZE my_table;`.


OpenCVE Recommended Actions

  • Upgrade PostgreSQL Anonymizer to version 3.3.0 or newer.
  • For tables with sensitive columns, disable statistics by executing ALTER TABLE my_table ALTER COLUMN my_col SET STATISTICS 0; ANALYZE my_table;
  • Ensure that only authorized roles possess SELECT privileges on tables exposed to masked roles.

Generated by OpenCVE AI on October 28, 2026 at 18:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:dalibo:postgresql_anonymizer:*:*:*:*:*:postgresql:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Dalibo
Dalibo postgresql Anonymizer
Vendors & Products Dalibo
Dalibo postgresql Anonymizer
Type Values Removed Values Added
Description PostgreSQL's optimized statistics on a table are visible as long as you have SELECT privilege on said table. A masked role can therefore read a limited subset of the data through the statistics view's histograms and mcvs. The vulnerability is resolved in PostgreSQL Anonymizer 3.3.0 and later versions.
Title PostgreSQL Anonymizer: Masked roles can read the statistics of masked columns in pg_stats
Weaknesses CWE-202
References
Metrics cvssV3_1

{'score': 3.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N'}

Weaknesses
  • CWE-202

    Exposure of Sensitive Information Through Data Queries

Sources

Status
PUBLISHED
Assigner
PostgreSQL
Published
Updated
Nov 5, 2026, 4:59 PM
Reserved
Oct 5, 2026, 4:26 PM
Status
Analyzed
Published
Oct 28, 2026, 6:17 PM
Modified
Nov 12, 2026, 1:37 PM