PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-104055 Canonical CVE debrief

CVE-2026-104055 debrief based on the supplied source corpus. 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 issue allows actors with log access to recover the monitoring user's password, granting read-only access to PostgreSQL. Defenders should verify exposure, apply fixes, review logs, and consider compensating controls.

Vendor
Canonical
Product
postgresql-operator
CVSS
MEDIUM 5.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-02
Original CVE updated
2026-10-03
Advisory published
2026-10-02
Advisory updated
2026-10-03

Who should care

Defenders responsible for charmed-postgresql-snap and postgresql-operator deployments, particularly those using the monitoring PostgreSQL user, should assess exposure and apply fixes.

Why it matters

CVE-2026-104055 allows actors with log access to recover the monitoring user's password, granting read-only access to PostgreSQL. Defenders should verify exposure, apply fixes, review logs, and consider compensating controls.

  • Defenders need to verify if the postgresql-operator charm is used in their environment and if the monitoring PostgreSQL user is enabled.
  • Potential exposure of the monitoring user's password in logs requires review and possible rotation of credentials.
  • Fixes are available in specific revisions for dev and stable tracks, requiring updates to prevent future exposure.
  • Compensating controls, such as log access restrictions and monitoring, may be necessary to mitigate potential impacts.

Technical summary

The postgresql-operator charm uses a Prometheus postgres_exporter to collect database metrics with a dedicated 'monitoring' PostgreSQL user. On database connection errors, the exporter logs the monitoring user's password in cleartext. This issue allows any actor with access to the logs to recover the password, granting read-only pg_monitor access to PostgreSQL. The postgresql-operator charm writes the monitoring user's password in cleartext to logs on database connection errors. Fixes are available in revisions 1189 (arm64) and 1190 (amd64) for the dev track, and revisions 1216 (arm64) and 1217 (amd64) for the stable track. The issue requires defenders to verify exposure, apply fixes, review logs, and consider

Defensive priority

Defenders should prioritize verifying exposure and applying fixes for the postgresql-operator charm, particularly in environments using the monitoring PostgreSQL user.

Recommended defensive actions

  • Verify if the postgresql-operator charm is used in your environment and if the monitoring PostgreSQL user is enabled.
  • Check the current revision of the charm and update to a fixed revision if necessary.
  • Review logs for potential exposure of the monitoring user's password.
  • Consider compensating controls, such as restricting access to logs and monitoring for suspicious activity.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.

Evidence notes

The CVE record and source references indicate that the postgresql-operator charm writes the monitoring user's password in cleartext to logs on database connection errors. Fixes are available in revisions 1189 (arm64) and 1190 (amd64) for the dev track, and revisions 1216 (arm64) and 1217 (amd64) for the stable track.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-104055 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-104055

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-104055 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-104055

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.