CVE-2026-104055

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

  • Medium 5.3

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

Key facts

Published
2 Oct 2026
Last changed
3 Oct 2026
Assigned by
canonical
EPSS
0.293% likely to be exploited in the next 30 days, higher than 22.17% of CVEs (scores for 17 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: no; Technical impact: partial

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 5.3CVSS 4.0, Mediumfrom the CNA (canonical)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

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

CAPEC-37 Retrieve Embedded Sensitive Data (CNA impact statement)

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
Canonicalpostgresql-operator
  • Default status: unaffected
  • 0 up to but excluding 1189 (affected)
  • 0 up to but excluding 1190 (affected)
  • 0 up to but excluding 1216 (affected)
  • 0 up to but excluding 1217 (affected)

Timeline

  1. 2 Oct 2026 Published

Weakness

References