CVE-2026-104055
published medium CVSS 4.0 · 5.3Monitoring-user password logged in cleartext by postgres_exporter in postgresql VM charm
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | charmed-postgresqlpostgresql-operator · 0 to < 1189 · 0 to < 1190 · 0 to < 1216 · 0 to < 1217 · Other versions: unaffected · Platforms: Linux | Affected | Not stated | canonical |
Description
The postgresql-operator charm runs a Prometheus postgres_exporter to collect database metrics using a dedicated "monitoring" PostgreSQL user. On database connection errors, the exporter writes the monitoring user's password in cleartext to its logs. Any actor able to read those logs can recover the password, which grants read-only pg_monitor access to PostgreSQL. This is fixed in the dev track (14/edge) in revisions 1189 (arm64) and 1190 (amd64), and in the stable track (14/stable) in revisions 1216 (arm64) and 1217 (amd64).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical | postgresql-operator | 0 to < 1189 (affected · charm-revision)0 to < 1190 (affected · charm-revision)0 to < 1216 (affected · charm-revision)0 to < 1217 (affected · charm-revision)Default: unaffected | canonical · cna |
Weaknesses
1- CWE-532 CWE-532 Insertion of sensitive information into log file
References
4Provider assertions
2canonical · cna
Monitoring-user password logged in cleartext by postgres_exporter in postgresql VM charm
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8593a17fa2a031c9b1fc842870796c39712bc6d67a3d3bc840f690d107c86edb
- Ingested
- 03 Oct 2026, 16:05:48 UTC
- Source record
- Official CVE record