Skip to content
Fencer Vulns
high 8.8

CVE-2026-44477 json

CloudNativePG: Metrics exporter allows privilege escalation to PostgreSQL superuser and OS RCE

published 2026-05-11 5 mo ago modified 2026-09-10 1 mo ago also GHSA-423p-g724-fr39 , GO-2026-5106 , EUVD-2026-32930

cvss
8.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 41%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/cloudnative-pg/cloudnative-pg 1.28.3, 1.29.1
  • linuxfoundation cloudnativepg 1.28.3, 1.29.1
  • govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1

opensuse advisories openSUSE-SU-2026:21483-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-44477 updated cvss 8.8

github.com/cloudnative-pg/cloudnative-pg: CloudNativePG: Metrics exporter allows privilege escalation to PostgreSQL superuser and OS RCE

  • Red Hat Openshift Data Foundation 4 odf4/ocs-rhel9-operator, odf4/ocs-metrics-exporter-rhel9, odf4/odf-multicluster-rhel9-operator, odf4/odf-cloudnative-pg-rhel9-operator
    affected: workaround, no fix available
  • Red Hat Openshift Data Foundation 4 odf4/odf-cli-rhel9, odf4/devicefinder-rhel9, odf4/mcg-rhel9-operator, odf4/odf-rhel9-operator
    not affected: vulnerable code not in execute path

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
5 mo ago

Exploit prediction

0.48% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 9.4 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
CISA ADP 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA 4.0 9.4 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
NVD 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CNA 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/cloudnative-pg/cloudnative-pg
<1.28.3
>=1.29.0, <1.29.1
1.28.3
1.29.1

Affected products

  • cloudnative-pg cloudnative-pg
  • Red Hat Red Hat Openshift Data Foundation 4

Classification

Weakness
  • CWE-250 Execution with Unnecessary Privileges
  • CWE-271 Privilege Dropping / Lowering Errors
  • CWE-426 Untrusted Search Path

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.