{"id":"EUVD-2026-32930","enisaUuid":"396310ad-38f4-32c1-89cc-b86dd68174be","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.","datePublished":"May 28, 2026, 3:46:12 PM","dateUpdated":"Jul 15, 2026, 12:54:01 AM","baseScore":9.4,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/cloudnative-pg/cloudnative-pg/security/advisories/GHSA-423p-g724-fr39\nhttps://github.com/cloudnative-pg/cloudnative-pg/pull/10576\n","aliases":"CVE-2026-44477\nGHSA-423p-g724-fr39\n","assigner":"GitHub_M","epss":0.48,"enisaIdProduct":[{"id":"40cf84cf-8e89-3c2a-a55e-3a0744e6b587","product":{"name":"cloudnative-pg","vendor":{"name":"cloudnative-pg"}},"product_version":"\u003c 1.28.3"},{"id":"90dd905e-4564-354c-b24e-45dd226ae63e","product":{"name":"cloudnative-pg","vendor":{"name":"cloudnative-pg"}},"product_version":"1.29.0, \u003c 1.29.1"}],"enisaIdVendor":[{"id":"16b4c85e-011f-3d2e-8cdf-7130b66822db","vendor":{"name":"cloudnative-pg"}}],"enisaIdVulnerability":[{"id":"1fe9b405-31eb-3481-a728-189f375a4bca","vulnerability":{"id":"GHSA-423p-g724-fr39","description":"CloudNativePG\u0027s metrics exporter allows privilege escalation to PostgreSQL superuser and OS RCE","datePublished":"May 11, 2026, 3:59:12 PM","dateUpdated":"Jun 9, 2026, 2:00:27 AM","baseScore":0.0,"references":"https://github.com/cloudnative-pg/cloudnative-pg/security/advisories/GHSA-423p-g724-fr39\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-44477\nhttps://github.com/cloudnative-pg/cloudnative-pg/pull/10576\nhttps://github.com/cloudnative-pg/cloudnative-pg\nhttps://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.28.3\nhttps://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.29.1\n","enisa_id":"EUVD-2026-32930\n","aliases":"GHSA-423p-g724-fr39\nCVE-2026-44477\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:50:09 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"69e38c7a-99d8-35dc-a68b-5a7687a7708a","vulnerability":{"id":"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.","datePublished":"May 28, 2026, 3:46:12 PM","dateUpdated":"Jul 15, 2026, 12:54:01 AM","status":"PUBLISHED","baseScore":9.4,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/cloudnative-pg/cloudnative-pg/security/advisories/GHSA-423p-g724-fr39\nhttps://github.com/cloudnative-pg/cloudnative-pg/pull/10576\n","enisa_id":"EUVD-2026-32930\n","assigner":"GitHub_M","epss":0.48,"dataProcessed":"Nov 15, 2026, 7:21:52 AM","vulnerabilityProduct":[{"id":"ea49e5c0-4d5c-3ddb-af2d-5e557ee32542","product":{"name":"cloudnative-pg","vendor":{"name":"cloudnative-pg"}},"product_version":"\u003c 1.28.3"},{"id":"fcc5bf03-1826-35e3-bdd8-69e81d958c7a","product":{"name":"cloudnative-pg","vendor":{"name":"cloudnative-pg"}},"product_version":"1.29.0, \u003c 1.29.1"}],"vulnerabilityVendor":[{"id":"e575a9ed-d779-3beb-b8e5-a8ab048e01d8","vendor":{"name":"cloudnative-pg"}}]}}],"enisaIdAdvisory":[]}