CVE-2026-104055 MEDIUM

CVE-2026-104055: Monitoring-user password logged in cleartext by postgres_exporter in postgresql VM charm

Vendor Canonical
Product postgresql-operator
Weakness CWE-532 · Sensitive info in logs
Published October 2, 2026
Last update October 3, 2026

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality —
Integrity —

CVSS vector

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

What the vulnerability does

01Description

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 dates

02Disclosure timeline

October 2, 2026 CVE published
October 3, 2026 Record updated

Related vulnerabilities

04Related CVE