---
id: CVE-2026-55765
title: >-
  CloudNativePG is a platform designed to manage PostgreSQL databases within
  Kubernetes environments
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 Set…
severity: high
cvss: 8.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H'
cwe:
  - CWE-256
  - CWE-522
published: '2026-08-20'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T20:09:01.757'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-55765'
references:
  - url: >-
      https://github.com/cloudnative-pg/cloudnative-pg/commit/2f0342747e1f160425b9d51753c0069b0d6117d5
    label: security-advisories@github.com
  - url: >-
      https://github.com/cloudnative-pg/cloudnative-pg/commit/3cd5af5d388c26758acf13c19ea806b4bcebb3fe
    label: security-advisories@github.com
  - url: >-
      https://github.com/cloudnative-pg/cloudnative-pg/commit/9a13573dbe3d78721b7ea92141e6d2324a2c0ef0
    label: security-advisories@github.com
  - url: 'https://github.com/cloudnative-pg/cloudnative-pg/pull/10724'
    label: security-advisories@github.com
  - url: 'https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.28.4'
    label: security-advisories@github.com
  - url: 'https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.29.2'
    label: security-advisories@github.com
  - url: 'https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/cloudnative-pg/cloudnative-pg/security/advisories/GHSA-w3gf-xc94-wvmj
    label: security-advisories@github.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-55765.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-55765'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2520818'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-55765'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-55765'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
epss: 0.00288
epssPercentile: 0.21675
ingestedAt: '2026-09-18T20:51:25.649Z'
vendor: Red Hat
product: Red Hat Openshift Data Foundation 4
affected:
  - openshift_data_foundation 4
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Important · affected: Red Hat Openshift Data Foundation 4 · no fix planned: Red Hat Openshift Data Foundation 4 · updated 2026-09-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-55765.json)
