CVE-2026-44477
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | github.com/cloudnative-pg/cloudnative-pg | <1.28.3 | 1.28.3 |
| Go | github.com/cloudnative-pg/cloudnative-pg | >=1.29.0,<1.29.1 | 1.29.1 |
| GO | github.com/cloudnative-pg/cloudnative-pg | >= 1.29.0, < 1.29.1 | 1.29.1 |
| GO | github.com/cloudnative-pg/cloudnative-pg | < 1.28.3 | 1.28.3 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linuxfoundation | cloudnativepg | {"endExcluding":"1.28.3"} | 1.28.3 |
| linuxfoundation | cloudnativepg | {"startIncluding":"1.29.0","endExcluding":"1.29.1"} | 1.29.1 |
References
- https://github.com/cloudnative-pg/cloudnative-pg/security/advisories/GHSA-423p-g724-fr39
- https://github.com/cloudnative-pg/cloudnative-pg/pull/10576
- https://github.com/cloudnative-pg/cloudnative-pg
- https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.28.3
- https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.29.1
- https://github.com/advisories/GHSA-423p-g724-fr39
CWEs
CWE-250 CWE-271 CWE-426
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.