{"schemaVersion":3,"id":"CVE-2026-44477","aliases":["CGA-67q3-p87j-v5hf","CGA-g9p6-x5cr-wv89","CGA-hqhc-fmgh-4wxr","CGA-x9jp-4fff-336v","GHSA-423p-g724-fr39","GO-2026-5106","CGA-38vq-p3jf-3fx2","CGA-3v43-xmv6-pr6h","CGA-3wf3-hgxv-7jm6","CGA-8cqx-7j82-38wp","CGA-v757-mg69-c773","CGA-xw7g-65r2-97m6","CGA-xwwm-9j7x-m8vp"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-05-28T15:46:12.241Z","modified":"2026-07-15T00:54:01.418Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.9,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9.4,"severity":"critical","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":9.4,"severity":"critical","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":9.4,"severity":"critical","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":9.9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":7.9,"impact":10,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":9.4,"severity":"critical","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":9.4,"severity":"critical","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00515,"percentile":0.42648,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.035000000000000045,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0048},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0048,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0048,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0048,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0048,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0048,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0048,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0048,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0048,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0048,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0048,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00515,"percentile":0.42648}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0048,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0048,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0048,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0048,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0048,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00515,"percentile":0.42648}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-250","name":"Execution with Unnecessary Privileges","description":"The product performs an operation at a privilege level that is higher than the minimum level required, which creates new weaknesses or amplifies the consequences of other weaknesses.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-271","name":"Privilege Dropping / Lowering Errors","description":"The product does not drop privileges before passing control of a resource to an actor that does not have those privileges.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/271.html"},{"id":"CWE-426","name":"Untrusted Search Path","description":"The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/426.html"}],"affected":[{"vendor":"chainguard","product":"cloudnative-pg","name":"cloudnative-pg","label":"cloudnative-pg","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/cloudnative-pg","purlType":"apk","versions":[{"text":"< 1.29.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.29.1-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"cloudnative-pg-fips","name":"cloudnative-pg-fips","label":"cloudnative-pg-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/cloudnative-pg-fips","purlType":"apk","versions":[{"text":"< 1.29.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.29.1-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"cloudnative-pg-fips-plugins","name":"cloudnative-pg-fips-plugins","label":"cloudnative-pg-fips-plugins","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/cloudnative-pg-fips-plugins","purlType":"apk","versions":[{"text":"< 1.29.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.29.1-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"cloudnative-pg-plugins","name":"cloudnative-pg-plugins","label":"cloudnative-pg-plugins","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/cloudnative-pg-plugins","purlType":"apk","versions":[{"text":"< 1.29.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.29.1-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"plugin-barman-cloud","name":"plugin-barman-cloud","label":"plugin-barman-cloud","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/plugin-barman-cloud","purlType":"apk","versions":[{"text":"< 0.12.0-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.0-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"plugin-barman-cloud-fips","name":"plugin-barman-cloud-fips","label":"plugin-barman-cloud-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/plugin-barman-cloud-fips","purlType":"apk","versions":[{"text":"< 0.12.0-r4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.0-r4","eol":null,"hubHref":null},{"vendor":"wolfi","product":"cloudnative-pg","name":"cloudnative-pg","label":"cloudnative-pg","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/cloudnative-pg","purlType":"apk","versions":[{"text":"< 1.29.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.29.1-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"cloudnative-pg-plugins","name":"cloudnative-pg-plugins","label":"cloudnative-pg-plugins","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/cloudnative-pg-plugins","purlType":"apk","versions":[{"text":"< 1.29.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.29.1-r0","eol":null,"hubHref":null},{"vendor":"cloudnative-pg","product":"cloudnative-pg","name":"cloudnative-pg","label":"cloudnative-pg","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.28.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.29.0, < 1.29.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.28.3 | ≥ 1.29.0, < 1.29.1","eol":null,"hubHref":"/vendor/cloudnative-pg/cloudnative-pg"},{"vendor":"github.com/cloudnative-pg","product":"cloudnative-pg","name":"github.com/cloudnative-pg/cloudnative-pg","label":"cloudnative-pg","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/cloudnative-pg/cloudnative-pg","purlType":"golang","versions":[{"text":"< 1.28.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.29.0, < 1.29.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.28.3 | ≥ 1.29.0, < 1.29.1","eol":null,"hubHref":null},{"vendor":"linuxfoundation","product":"cloudnativepg","name":"cloudnativepg","label":"cloudnativepg","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.28.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.29.0, < 1.29.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.28.3 | ≥ 1.29.0, < 1.29.1","eol":null,"hubHref":"/vendor/linuxfoundation/cloudnativepg"}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/cloudnative-pg/cloudnative-pg/security/advisories/GHSA-423p-g724-fr39","label":"github.com/cloudnative-pg/cloudnative-pg/security/advisories/GHSA-423p-g724-fr39","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Mitigation","Vendor Advisory"]},{"url":"https://github.com/cloudnative-pg/cloudnative-pg/pull/10576","label":"github.com/cloudnative-pg/cloudnative-pg/pull/10576","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Issue Tracking","Patch"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-44477","label":"access.redhat.com/security/cve/CVE-2026-44477","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2482763","label":"bugzilla.redhat.com/show_bug.cgi?id=2482763","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44477.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44477.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex","WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44477.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44477.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44477","label":"nvd.nist.gov/vuln/detail/CVE-2026-44477","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/cloudnative-pg/cloudnative-pg","label":"github.com/cloudnative-pg/cloudnative-pg","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.28.3","label":"github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.28.3","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.29.1","label":"github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.29.1","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21483-1"],"duplicates":[],"related":["CGA-9X7Q-44F8-4RQF","OPENSUSE-SU-2026:21483-1"]},"timeline":[{"kind":"published","date":"2026-05-28T15:46:12.241Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-15T00:54:01.418Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:24:20.451Z","stale":false,"partial":false}}