PatchSiren cyber security CVE debrief
CVE-2026-104055 Canonical CVE debrief
The postgresql-operator charm's Prometheus postgres_exporter writes the monitoring user's password in cleartext to logs on database connection errors, granting read-only pg_monitor access to PostgreSQL. This issue affects deployments using the postgresql-operator charm, particularly those with monitoring and logging configurations that may expose these logs to unauthorized actors. Defenders should assess exposure, review logs for potential password exposure, and upgrade to fixed revisions 1189, 1190, 1216, or 1217. The vulnerability allows recovery of the monitoring user's password from logs, which could lead to unauthorized access with read-only pg_monitor permissions.
- Vendor
- Canonical
- Product
- postgresql-operator
- CVSS
- MEDIUM 5.3
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-02
- Original CVE updated
- 2026-10-03
- Advisory published
- 2026-10-02
- Advisory updated
- 2026-10-03
Who should care
Defenders and administrators of postgresql-operator deployments should assess exposure and prioritize verification and remediation efforts. This includes reviewing logs for potential password exposure, upgrading to fixed revisions, and implementing compensating controls to protect sensitive data. Security teams and vulnerability management teams should also be aware of the potential impact and ensure that appropriate measures are taken to mitigate the risk
Why it matters
CVE-2026-104055 allows recovery of monitoring user's password from logs, granting read-only pg_monitor access; defenders should verify exposure, review logs, and upgrade to fixed revisions.
- Recovery of monitoring user's password from logs grants read-only pg_monitor access
- Potential exposure of sensitive data in logs
- Verification of log exposure and potential password compromise required
- Upgrade to fixed revisions to prevent future exposure
Technical summary
The postgresql-operator charm's Prometheus postgres_exporter writes the monitoring user's password in cleartext to logs on database connection errors. This occurs because the exporter does not properly handle database connection errors, leading to the exposure of sensitive credentials. The issue grants read-only pg_monitor access to PostgreSQL, which could be exploited by actors with access to these logs. The vulnerability is fixed in revisions 1189 (arm64), 1190 (amd64), 1216 (arm64), and 1217 (amd64). Defenders should prioritize verifying exposure, reviewing logs for potential password exposure, and upgrading to these fixed revisions.
Defensive priority
Defenders should prioritize verifying exposure, reviewing logs for potential password exposure, and upgrading to fixed revisions 1189, 1190, 1216, or 1217.
Recommended defensive actions
- Verify exposure by reviewing logs for potential password exposure.
- Upgrade to fixed revisions 1189, 1190, 1216, or 1217.
- Implement compensating controls to monitor and protect sensitive data.
- Review logging configurations to prevent exposure of sensitive data.
- Conduct regular security audits to detect potential log exposures.
- Enhance monitoring to detect and alert on suspicious access to PostgreSQL.
- Develop an incident response plan for potential password exposure.
Evidence notes
The postgresql-operator charm's Prometheus postgres_exporter writes the monitoring user's password in cleartext to logs on database connection errors. This issue is fixed in revisions 1189 (arm64), 1190 (amd64), 1216 (arm64), and 1217 (amd64).
Sources and references
Verified primary and authoritative sources
-
CVE-2026-104055 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-104055
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-104055 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-104055
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/canonical/charmed-postgresql-snap/pull/305
-
Source reference
Unverified legacy reference
URL: https://github.com/canonical/charmed-postgresql-snap/pull/307
-
Source reference
Unverified legacy reference
URL: https://github.com/canonical/postgresql-operator/pull/1863
-
Source reference
Unverified legacy reference
URL: https://github.com/canonical/postgresql-operator/security/advisories/GHSA-rcx7-7rh5-r542
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.