Skip to content

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

MediumCVSS 5.3 EPSS 0.29%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
Canonical postgresql-operator < 1189; < 1190; < 1216; < 1217 1189, 1190, 1216, 1217 Fixed

Affected products

ProductAffected versionsFixed in
Canonical postgresql-operator < 1189 1189
Canonical postgresql-operator < 1190 1190
Canonical postgresql-operator < 1216 1216
Canonical postgresql-operator < 1217 1217

References