CVE-2026-55765 json
CloudNativePG: Cleartext role passwords recorded in pg_stat_statements allow privileged tenant roles to recover the PostgreSQL superuser credential and achieve RCE in the database pod
published 2026-08-20 2 mo ago modified 2026-10-26 13 d ago also EUVD-2026-63685
- cvss
- 8.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
CloudNativePG is a platform designed to manage PostgreSQL databases within Kubernetes environments. Prior to 1.28.4 and 1.29.2, CloudNativePG embedded cleartext role passwords in `ALTER ROLE` and `CREATE ROLE` statements generated by SetUserPassword in pkg/management/postgres/utils/roles.go and appendPasswordOption in internal/management/controller/roles/postgres.go. When pg_stat_statements was preloaded with track_utility enabled and an untrusted tenant held pg_monitor or pg_read_all_stats, the tenant could recover platform-managed superuser or application-owner passwords, reconnect through enabled superuser TCP access, and execute operating system commands in the database pod with `COPY ... FROM PROGRAM`. Clusters using SCRAM-SHA-256 verifiers in managed-role Secrets were not affected. This issue is fixed in versions 1.28.4, 1.29.2, and 1.30.0.
Patch / fix
- kubectl-cnpg openSUSE Tumbleweed 1.29.2-1.1
opensuse advisories openSUSE-SU-2026:11167-1
- github.com/cloudnative-pg/cloudnative-pg@2f03427 commit
- github.com/cloudnative-pg/cloudnative-pg@3cd5af5 commit
- github.com/cloudnative-pg/cloudnative-pg@9a13573 commit
- github.com/cloudnative-pg/cloudnative-pg#10724 pull request
- github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.28.4 release
- github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.29.2 release
- github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.0 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-55765 updated cvss 8.5
github.com/cloudnative-pg/cloudnative-pg: CloudNativePG: Remote Code Execution due to cleartext role passwords in pg_stat_statements
-
Red Hat Openshift Data Foundation 4 odf4/odf-cli-rhel9, odf4/ocs-client-rhel9-operator, odf4/ocs-metrics-exporter-rhel9affected: workaround, no fix available
-
Red Hat Openshift Data Foundation 4 odf4, odf4/devicefinder-rhel9, odf4/mcg-rhel9-operator, odf4/ocs-rhel9-operator, odf4/odf-rhel9-operator, odf4/odf-multicluster-rhel9-operatornot affected: vulnerable code not in execute path
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 mo ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected products
- cloudnative-pg cloudnative-pg
Classification
References
- github.com /cloudnative-pg/cloudnative-pg/pull/10724
- github.com /cloudnative-pg/cloudnative-pg/commit/2f0342747e1f160425b9d51753c0069b0d6117d5
- github.com /cloudnative-pg/cloudnative-pg/commit/3cd5af5d388c26758acf13c19ea806b4bcebb3fe
- github.com /cloudnative-pg/cloudnative-pg/commit/9a13573dbe3d78721b7ea92141e6d2324a2c0ef0
- github.com /cloudnative-pg/cloudnative-pg/security/advisories/GHSA-w3gf-xc94-wvmj
- github.com /cloudnative-pg/cloudnative-pg/releases/tag/v1.28.4
- github.com /cloudnative-pg/cloudnative-pg/releases/tag/v1.29.2
- github.com /cloudnative-pg/cloudnative-pg/releases/tag/v1.30.0
Sources
- CVE List CVE-2026-55765
- NVD CVE-2026-55765
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.