# CVE-2026-104055: Monitoring-user password logged in cleartext by postgres\_exporter in postgresql VM charm

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-02 · Modified: 2026-10-03
- Record: https://cvemate.com/vulnerability/CVE-2026-104055 · JSON: https://cvemate.com/vulnerability/CVE-2026-104055/json

## Description

```text
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).
```

## Signals

- CVSS: 5.3 medium (v4.0, CVE.org) 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
- EPSS: 0.293%, percentile 23.515%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- canonical postgresql-operator: \< 1189 \| \< 1190 \| \< 1216 \| \< 1217

## References

- <https://github.com/canonical/postgresql-operator/security/advisories/GHSA-rcx7-7rh5-r542>
- <https://github.com/canonical/postgresql-operator/pull/1863>
- <https://github.com/canonical/charmed-postgresql-snap/pull/305>
- <https://github.com/canonical/charmed-postgresql-snap/pull/307>

---

Data as of 2026-12-05T13:44:17.569Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
