cve.bz

CVE-2026-55765 cloudnative-pg cloudnative-pg: Plaintext Storage of a Password

8.5 highEPSS 0.5%

High (8.5) in cloudnative-pg cloudnative-pg. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.5 high
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-08-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-256 Plaintext Storage of a Password
CWE-522 Insufficiently Protected Credentials
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-55765 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-55765?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-55765?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-55765 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
cloudnative-pg< 1.28.4
cloudnative-pg>= 1.29.0, < 1.29.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
openSUSETumbleweedkubectl-cnpg1.29.2-1.1openSUSE-SU-2026:11167-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

An IMPORTANT severity flaw was found in CloudNativePG as shipped in Red Hat OpenShift Data Foundation. CloudNativePG embedded cleartext role passwords in the ALTER ROLE and CREATE ROLE statements it generates, and when the PostgreSQL pg_stat_statements extension was preloaded with track_utility enabled, those cleartext passwords were recorded in its statistics. An untrusted tenant holding the pg_monitor or pg_read_all_stats role could read the recorded statements to recover the platform-managed superuser or application-owner password, reconnect through enabled superuser TCP access, and execute operating system commands inside the database pod via COPY ... FROM PROGRAM, resulting in remote code execution. Exploitation requires conditions that are absent from a default CloudNativePG deployment: pg_stat_statements must be preloaded with track_utility enabled, the tenant must be granted pg_monitor or pg_read_all_stats, and superuser TCP access (enableSuperuserAccess) must be enabled. Clusters that supply a SCRAM-SHA-256 verifier in managed-role Secrets are not affected even before the fix, because the recorded value is a non-replayable hash rather than a cleartext password. Within Red Hat OpenShift Data Foundation, resolution is delegated to the affected product's business unit, where a fix is being pursued; several OpenShift Data Foundation components were evaluated as not affected because the vulnerable code is not in their execution path. The Red Hat severity of IMPORTANT (CVSS 8.5, AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H) is consistent with the upstream assessment.

Red Hat's mitigation

Operators who cannot upgrade immediately can reduce exposure by supplying a SCRAM-SHA-256 verifier in managed-role Secrets so that the value recorded by pg_stat_statements is a non-replayable hash rather than a cleartext password, by not granting pg_monitor or pg_read_all_stats to untrusted tenant roles, and by keeping superuser TCP access (enableSuperuserAccess) disabled so the postgres role cannot be reached over the network. Not preloading pg_stat_statements, or disabling pg_stat_statements.track_utility, also prevents utility statements containing the password literal from being recorded. The upstream project has fixed this issue in versions 1.28.4, 1.29.2, and 1.30.0, and upgrading to a fixed version is recommended.

ProductPackageStateAdvisory
Red Hat Openshift Data Foundation 4odf4/devicefinder-rhel9Not affected
Red Hat Openshift Data Foundation 4odf4/mcg-rhel9-operatorNot affected
Red Hat Openshift Data Foundation 4odf4/ocs-client-rhel9-operatorAffected
Red Hat Openshift Data Foundation 4odf4/ocs-metrics-exporter-rhel9Affected
Red Hat Openshift Data Foundation 4odf4/ocs-rhel9-operatorNot affected
Red Hat Openshift Data Foundation 4odf4/odf-cli-rhel9Affected
Red Hat Openshift Data Foundation 4odf4/odf-cloudnative-pg-rhel9-operatorNot affected
Red Hat Openshift Data Foundation 4odf4/odf-multicluster-rhel9-operatorNot affected
Red Hat Openshift Data Foundation 4odf4/odf-rhel9-operatorNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-55765.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-522 (13).

References

Check your stackJSON