PostgreSQL Anonymizer: Masked roles can read the statistics of masked columns in pg_stats
Summary
| CVE | CVE-2026-105615 |
|---|---|
| State | PUBLISHED |
| Assigner | PostgreSQL |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-28 18:17:03 UTC |
| Updated | 2026-10-28 18:17:03 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 3.5 LOW from f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
Problem Types: CWE-202 | CWE-202 Exposure of Sensitive Information Through Data Queries
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 | Secondary | 3.5 | LOW | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N |
| 3.1 | CNA | CVSS | 3.5 | LOW | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
RequiredScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | DALIBO | PostgreSQL Anonymizer | affected 1 3.3.0 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| gitlab.com/dalibo/postgresql_anonymizer/-/issues/693 | f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 | gitlab.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: The PostgreSQL Anonymizer project thanks user Ilya Staroverov for reporting this problem. (en)
Additional Advisory Data
Workarounds
CNA: For sensitive columns, statitics can be disabled with `ALTER TABLE my_table ALTER COLUMN my_col SET STATISTICS 0; ANALYZE my_table;`.
There are currently no legacy QID mappings associated with this CVE.