Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-44477
Published:May 28, 2026
Updated:June 13, 2026
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.
Affected Packages
https://github.com/cloudnative-pg/cloudnative-pg.git (GITHUB):
Affected version(s) =v1.29.0 <v1.29.1
Fix Suggestion:
Update to version v1.29.1
https://github.com/cloudnative-pg/cloudnative-pg.git (GITHUB):
Affected version(s) >=v0.0.1 <v1.28.3
Fix Suggestion:
Update to version v1.28.3
github.com/cloudnative-pg/cloudnative-pg (GO):
Affected version(s) >=v0.0.0-20221215202853-87274a22d424 <v1.28.3
Fix Suggestion:
Update to version v1.28.3
github.com/cloudnative-pg/cloudnative-pg (GO):
Affected version(s) =v1.29.0 <v1.29.1
Fix Suggestion:
Update to version v1.29.1
github.com/cloudnative-pg/cloudnative-pg (GO):
Affected version(s) >=v0.0.0-20221215202853-87274a22d424 <v1.28.3
Fix Suggestion:
Update to version v1.28.3
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.4
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9.9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Privilege Dropping / Lowering Errors
Execution with Unnecessary Privileges
Untrusted Search Path
EPSS
Base Score:
0.04