Live threats

All CVEs / Linuxfoundation

CVE-2026-44477Linuxfoundation Cloudnativepg

Critical 9.4

Priority
56
CVSS 4.0
9.4
EPSS
—
Auth required
Yes
Published
May 28, 2026
Updated
Jul 15, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-250, CWE-271, CWE-426
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cloudnativepg.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/cloudnative-pg/cloudnative-pg < 1.28.3 1.28.3 go get github.com/cloudnative-pg/cloudnative-pg@v1.28.3
Go github.com/cloudnative-pg/cloudnative-pg ≥ 1.29.0 < 1.29.1 1.29.1 go get github.com/cloudnative-pg/cloudnative-pg@v1.29.1
Go github.com/cloudnative-pg/cloudnative-pg < 1.28.3 1.28.3 go get github.com/cloudnative-pg/cloudnative-pg@v1.28.3
Go github.com/cloudnative-pg/cloudnative-pg ≥ 1.29.0 < 1.29.1 1.29.1 go get github.com/cloudnative-pg/cloudnative-pg@v1.29.1

Per OSV / GitHub Advisories (GHSA-423p-g724-fr39, GO-2026-5106). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxfoundationcloudnativepg< 1.28.3
linuxfoundationcloudnativepg≥ 1.29.0 < 1.29.1

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.