Read the docs
TI-2026-32416 Aliases CVE-2026-44477GHSA-423p-g724-fr39

CloudNativePG: Metrics exporter allows privilege escalation to PostgreSQL superuser and OS RCE

Priority MEDIUM 43CWE-250Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Privilege escalation, Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-250 and CWE-426.

Summary

CloudNativePG is a platform designed to manage PostgreSQL databases within Kubernetes environments. Prior to 1.29.1 and 1.28.3, the CloudNativePG metrics exporter opens its PostgreSQL connection as the postgres superuser via the pod-local Unix socket, then demotes the session with SET ROLE pg_monitor. SET ROLE changes only current_user; session_user remains postgres. Any SQL expression evaluated inside the scrape session can invoke RESET ROLE to recover real superuser privileges, then use COPY ... TO PROGRAM to spawn an OS-level subprocess as the postgres user inside the primary pod. The READ ONLY transaction flag does not block this; it gates writes to database state, not external processes. This vulnerability is fixed in 1.29.1 and 1.28.3.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0048 41st percentileScored 2026-11-07
Fix Partial cloudnative-pg (cloudnative-pg): 1.28.3, 1.29.1github.com/cloudnative-pg/cloudnative-pg (Go): 1.28.3, 1.29.1Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
cloudnative-pgcloudnative-pgbefore 1.28.3; 1.29.0 to before 1.29.11.28.3, 1.29.1Patch availableCNA
—github.com/cloudnative-pg/cloudnative-pg (Go)before 1.28.31.28.3Patch availableGHSA-423p-g724-fr39
—github.com/cloudnative-pg/cloudnative-pg (Go)1.29.0 to before 1.29.11.29.1Patch availableGHSA-423p-g724-fr39
  • cloudnative-pg Vendorcloudnative-pg Affected before 1.28.3; 1.29.0 to before 1.29.1 Fixed in 1.28.3, 1.29.1 Patch available CNA
  • github.com/cloudnative-pg/cloudnative-pg (Go) Vendor— Affected before 1.28.3 Fixed in 1.28.3 Patch available GHSA-423p-g724-fr39
  • github.com/cloudnative-pg/cloudnative-pg (Go) Vendor— Affected 1.29.0 to before 1.29.1 Fixed in 1.29.1 Patch available GHSA-423p-g724-fr39

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:linuxfoundation:cloudnativepg:*:*:*:*:*:kubernetes:*:*before 1.28.3; 1.29.0 to before 1.29.1Vulnerablebackstage
  • cpe:2.3:a:linuxfoundation:cloudnativepg:*:*:*:*:*:kubernetes:*:* Versions before 1.28.3; 1.29.0 to before 1.29.1 Vulnerable ·backstage

Remediation

  • Fix · CNA cloudnative-pg (cloudnative-pg) Fixed in 1.28.3, 1.29.1
  • Fix · GHSA-423p-g724-fr39 github.com/cloudnative-pg/cloudnative-pg (Go) Fixed in 1.28.3 Advisory →
  • Fix · GHSA-423p-g724-fr39 github.com/cloudnative-pg/cloudnative-pg (Go) Fixed in 1.29.1 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Openshift Data Foundation 4AffectedNo fix yet
Not affected: 1 product
  • Red Hat Openshift Data Foundation 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-44477
  2. 2026-10-03 Alias added: GHSA-423p-g724-fr39

References

  • TI-2026-40258 Untrusted search path in cloudnative-pg CVSS 4.0CRITICAL 9.4
  • TI-2026-40254 Insufficiently protected credentials in cloudnative-pg CVSS 3.1HIGH 8.5

Sources