{"id":"DHI-6xri-nefo-3qtw-vzdi","summary":"CloudNativePG is a platform designed to manage PostgreSQL databases within Kubernetes environments. Prior to 1.29.1 and…","details":"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.","modified":"2026-11-20T01:00:08.854275977Z","published":"2026-11-20T00:49:11Z","upstream":["CVE-2026-44477"],"database_specific":{"coverage":"partial","coverage_exclusions":["legacy_package_image_owner"]},"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-6xri-nefo-3qtw-vzdi"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44477"},{"type":"ADVISORY","url":"https://github.com/cloudnative-pg/cloudnative-pg/security/advisories/GHSA-423p-g724-fr39"},{"type":"FIX","url":"https://github.com/cloudnative-pg/cloudnative-pg/pull/10576"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-423p-g724-fr39"},{"type":"WEB","url":"https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.29.1"},{"type":"WEB","url":"https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.28.3"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2026-5106"}],"affected":[{"package":{"name":"cloudnative-pg-1.27-dev","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/cloudnative-pg-1.27-dev"},"versions":["1.27.4-r1","1.27.4-r10","1.27.4-r11","1.27.4-r12","1.27.4-r13","1.27.4-r14","1.27.4-r15","1.27.4-r2","1.27.4-r3","1.27.4-r4","1.27.4-r5","1.27.4-r6","1.27.4-r7","1.27.4-r8","1.27.4-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-6xri-nefo-3qtw-vzdi.json"}},{"package":{"name":"cloudnative-pg-1.27-fips-dev","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/cloudnative-pg-1.27-fips-dev"},"versions":["1.27.4-r1","1.27.4-r10","1.27.4-r11","1.27.4-r12","1.27.4-r13","1.27.4-r14","1.27.4-r15","1.27.4-r2","1.27.4-r3","1.27.4-r4","1.27.4-r5","1.27.4-r6","1.27.4-r7","1.27.4-r8","1.27.4-r9"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-6xri-nefo-3qtw-vzdi.json","owner_kind":"HSP"}},{"package":{"name":"cloudnative-pg-1.27-fips","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/cloudnative-pg-1.27-fips"},"versions":["1.27.4-r1","1.27.4-r10","1.27.4-r11","1.27.4-r12","1.27.4-r13","1.27.4-r14","1.27.4-r15","1.27.4-r2","1.27.4-r3","1.27.4-r4","1.27.4-r5","1.27.4-r6","1.27.4-r7","1.27.4-r8","1.27.4-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-6xri-nefo-3qtw-vzdi.json"}},{"package":{"name":"cloudnative-pg-1.27","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/cloudnative-pg-1.27"},"versions":["1.27.4-r1","1.27.4-r10","1.27.4-r11","1.27.4-r12","1.27.4-r13","1.27.4-r14","1.27.4-r15","1.27.4-r2","1.27.4-r3","1.27.4-r4","1.27.4-r5","1.27.4-r6","1.27.4-r7","1.27.4-r8","1.27.4-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-6xri-nefo-3qtw-vzdi.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}