Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-44477

published critical CVSS 4.0 · 9.4

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

Published
28 May 2026, 15:46:12 UTC
Updated
15 Jul 2026, 00:54:01 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
cloudnative-pg — cloudnative-pg< 1.28.3 · >= 1.29.0, < 1.29.1 Affected Not stated GitHub_M
Red Hat — odf4/devicefinder-rhel9Red Hat Openshift Data Foundation 4 Unaffected Not required redhat-SADP
Red Hat — odf4/mcg-rhel9-operatorRed Hat Openshift Data Foundation 4 Unaffected Not required redhat-SADP
Red Hat — odf4/ocs-metrics-exporter-rhel9Red Hat Openshift Data Foundation 4 Affected Not stated redhat-SADP
Red Hat — odf4/ocs-rhel9-operatorRed Hat Openshift Data Foundation 4 Affected Not stated redhat-SADP
Red Hat — odf4/odf-cli-rhel9Red Hat Openshift Data Foundation 4 Unaffected Not required redhat-SADP
Red Hat — odf4/odf-cloudnative-pg-rhel9-operatorRed Hat Openshift Data Foundation 4 Affected Not stated redhat-SADP
Red Hat — odf4/odf-multicluster-rhel9-operatorRed Hat Openshift Data Foundation 4 Affected Not stated redhat-SADP
Show 1 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat — odf4/odf-rhel9-operatorRed Hat Openshift Data Foundation 4 Unaffected Not required redhat-SADP

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.

en · GitHub_M · cna

en · redhat-SADP · adp

A flaw was found in CloudNativePG's metrics exporter. The issue arises because the metrics exporter connected to PostgreSQL using a highly privileged account and did not properly restrict privileges during monitoring operations. A low-privileged database user could exploit this behavior through crafted monitoring queries or PostgreSQL object resolution manipulation to regain PostgreSQL superuser privileges and potentially execute arbitrary operating system commands as the postgres user inside the affected database pod.

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
9.4 / 10
Severity
critical
Provider
GitHub_M · cna
Vector string
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

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.8 high redhat-SADP · adp CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
cloudnative-pg cloudnative-pg < 1.28.3 (affected)>= 1.29.0, < 1.29.1 (affected) GitHub_M · cna
Red Hat Red Hat Openshift Data Foundation 4 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Openshift Data Foundation 4 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Openshift Data Foundation 4 Default: affected redhat-SADP · adp
Red Hat Red Hat Openshift Data Foundation 4 Default: affected redhat-SADP · adp
Red Hat Red Hat Openshift Data Foundation 4 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Openshift Data Foundation 4 Default: affected redhat-SADP · adp
Red Hat Red Hat Openshift Data Foundation 4 Default: affected redhat-SADP · adp
Red Hat Red Hat Openshift Data Foundation 4 Default: unaffected redhat-SADP · adp

Weaknesses

4
  • CWE-250 CWE-250: Execution with Unnecessary Privileges (GitHub_M · cna)
  • CWE-271 CWE-271: Privilege Dropping / Lowering Errors (GitHub_M · cna)
  • CWE-426 CWE-426: Untrusted Search Path (GitHub_M · cna)
  • CWE-250 Execution with Unnecessary Privileges (redhat-SADP · adp)

References

5

Provider assertions

3

GitHub_M · cna

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

redhat-SADP · adp

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
186c31a0d473b63eb7171f23bbbeca4a8b8347618d953abafd2bce471147d16c
Ingested
23 Sep 2026, 09:15:17 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected