CVE Catalog

CVE-2026-104055

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.29%

20th percentile - higher than 20% of all known CVEs

Summary

The postgresql-operator charm runs a Prometheus postgres_exporter that writes the monitoring user's password in cleartext to its logs on database connection errors. Anyone able to read those logs can recover the password, which grants read-only pg_monitor access to PostgreSQL.

Risk Assessment

Exposure of the monitoring user's password may allow an attacker to access database metrics and potentially other information, compromising confidentiality.

Recommendation

Update the postgresql-operator charm to a fixed version: revisions 1189 (arm64) and 1190 (amd64) in the dev track (14/edge), and 1216 (arm64) and 1217 (amd64) in the stable track (14/stable).

Related vulnerabilities

Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS