CVE-2026-104055

medium

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

References

https://github.com/canonical/postgresql-operator/security/advisories/GHSA-rcx7-7rh5-r542

https://github.com/canonical/postgresql-operator/pull/1863

https://github.com/canonical/charmed-postgresql-snap/pull/307

https://github.com/canonical/charmed-postgresql-snap/pull/305

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-91803

Details

Source: Mitre, NVD

Published: 2026-10-02

Updated: 2026-10-03

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Severity: High

CVSS v4

Base Score: 5.3

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

Severity: Medium

EPSS

EPSS: 0.00293