GHSA-423p-g724-fr39 · Severity: critical · Ecosystem: go — CloudNativePG's metrics exporter allows privilege escalation to PostgreSQL superuser and OS RCE
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.
Conclusion & alert: CVE-2026-44477 is rated Moderate Risk (41.8/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.04%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-29 | — | 0.04% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.4 | 4.0 | CRITICAL |
|
— | — | [email protected] |
| 9.9 | 3.1 | CRITICAL |
|
3.1 | 6.0 | [email protected] |
GHSA-423p-g724-fr39 · Severity: critical · Ecosystem: go — CloudNativePG's metrics exporter allows privilege escalation to PostgreSQL superuser and OS RCE
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| linuxfoundation | cloudnativepg | < 1.28.3 | cpe:2.3:a:linuxfoundation:cloudnativepg:*:*:*:*:*:kubernetes:*:* |
| linuxfoundation | cloudnativepg | >= 1.29.0, < 1.29.1 | cpe:2.3:a:linuxfoundation:cloudnativepg:*:*:*:*:*:kubernetes:*:* |
| URL | Tags |
|---|---|
| https://github.com/cloudnative-pg/cloudnative-pg/pull/10576 | Issue Tracking Patch |
| https://github.com/cloudnative-pg/cloudnative-pg/security/advisories/GHSA-423p-g724-fr39 | Mitigation Vendor Advisory |