CVE-2026-44477Linuxfoundation Cloudnativepg
Critical 9.4
Follow: this CVE · Linuxfoundation · Linuxfoundation Cloudnativepg We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 4.0
- 9.4
- EPSS
- —
- Auth required
- Yes
- Published
- May 28, 2026
- Updated
- Jul 15, 2026
- Category
- Application · Cross-platform
- 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.
What to do
- Apply the vendor's security update for Cloudnativepg.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | cloudnativepg | < 1.28.3 |
| linuxfoundation | cloudnativepg | ≥ 1.29.0 < 1.29.1 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch
- github.com Mitigation Vendor Advisory
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com