CVE-2026-104055
JSON

5.3medium

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

Severity
5.3medium CVSS:4.0 by canonical
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
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).

Affected

Product or packageVersionsReported by
charmed-postgresqlbefore 1189, before 1190, before 1216, before 1217CVE List

Classification

CWE-532

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-104055 changed 2026-10-03CVE Terms of Use
NVDCVE-2026-104055 changed 2026-10-06Public domain