Skip to main content
← All vulnerabilities
CVE-2026-104055GHSA-RCX7-7RH5-R542

Monitoring-user password logged in cleartext by postgres_exporter in postgresql VM charm

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1189, 1190, 1216, 1217
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • charmed-postgresql

    fixed in 1189; fixed in 1190; fixed in 1216; fixed in 1217

References 4

GitHub · canonical/postgresql-operator

GitHub · canonical/charmed-postgresql-snap