Skip to content
Heist/ feed
Medium

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

Type: advisorySource: Official CVE List1 source record

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

Announced Group revision 1
Original source ↗

CVE-2026-104055

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-104055

postgresql-operator

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/canonical/postgresql-operator",
    "vendor": "Canonical",
    "product": "postgresql-operator",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "1189",
        "versionType": "charm-revision"
      },
      {
        "status": "affected",
        "version": "0",
        "lessThan": "1190",
        "versionType": "charm-revision"
      },
      {
        "status": "affected",
        "version": "0",
        "lessThan": "1216",
        "versionType": "charm-revision"
      },
      {
        "status": "affected",
        "version": "0",
        "lessThan": "1217",
        "versionType": "charm-revision"
      }
    ],
    "platforms": [
      "Linux"
    ],
    "packageName": "charmed-postgresql",
    "collectionURL": "https://charmhub.io/postgresql",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-104055

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#8399 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement