CVE-2026-18378

Project-koku/koku-metrics-operator: koku-metrics-operator: cluster pull-secret token exfiltration via user-controlled api_url (ssrf / confused deputy)

Published Jul 30, 2026 CVSS 3.1 · 7.6 High EPSS < 1% KEV · Not listed
Description
A flaw was found in koku-metrics-operator. The operator's CostManagementMetricsConfig custom resource allows user able to edit the CR to specify an arbitrary upload URL. When authentication.type is set to token (the default), the cluster-global Red Hat Cloud pull-secret bearer token is attached to HTTP requests sent to this user-controlled URL, allowing the attacker to obtain the token.

Analysis

AI-generated

Technical impact

The vulnerability allows an attacker who can edit the CostManagementMetricsConfig custom resource to specify an arbitrary upload URL. When the operator’s authentication.type is set to token (the default), the Bearer token in the cluster‑global Red Hat Cloud pull‑secret is automatically attached to HTTP requests sent to that user‑controlled URL, letting the attacker retrieve the privileged token.

Affected Systems

Red Hat Cost Management Metrics Operator, version 4.

Risk and Exploitability

With a CVSS score of 7.6 the flaw is considered high‑severity. The exploitation requires privileges to modify the custom resource, which may be limited by RBAC but is still a realistic risk in environments where users have such access. The EPSS score is < 1%, indicating a low but non‑zero likelihood of exploitation, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is through an authorized edit of the CR that points to an external endpoint, where the operator will send the token as part of the request header. The resultant token exposure could enable broad compromise of cloud resources.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor patch or upgrade to a version that restricts the upload URL or removes the bearer token from outbound requests.
  • Use RBAC to limit which users have permission to edit the CostManagementMetricsConfig custom resource.
  • Validate the upload URL in the custom resource to ensure it points only to trusted, internal endpoints and reject external or untrusted URLs.
  • Monitor outbound HTTP traffic from the koku-metrics-operator for unexpected external connections.
  • If a patch is delayed, consider disabling or removing the push‑secret’s bearer token from the operator’s configuration or rotating the token to limit exposure.

Generated by OpenCVE AI on August 2, 2026 at 05:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:cost_management:4 cpe:/a:redhat:cost_management:4::el9
References
Type Values Removed Values Added
First Time appeared Redhat cost Management Metrics Operator
CPEs cpe:2.3:a:redhat:cost_management_metrics_operator:-:*:*:*:*:openshift:*:*
Vendors & Products Redhat cost Management Metrics Operator
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Red Hat
Red Hat cost Management Metrics Operator
Vendors & Products Red Hat
Red Hat cost Management Metrics Operator
Type Values Removed Values Added
Description A flaw was found in koku-metrics-operator. The operator's CostManagementMetricsConfig custom resource allows user able to edit the CR to specify an arbitrary upload URL. When authentication.type is set to token (the default), the cluster-global Red Hat Cloud pull-secret bearer token is attached to HTTP requests sent to this user-controlled URL, allowing the attacker to obtain the token.
Title Project-koku/koku-metrics-operator: koku-metrics-operator: cluster pull-secret token exfiltration via user-controlled api_url (ssrf / confused deputy)
First Time appeared Redhat
Redhat cost Management
Weaknesses CWE-918
CPEs cpe:/a:redhat:cost_management:4
Vendors & Products Redhat
Redhat cost Management
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Oct 12, 2026, 8:41 PM
Reserved
Jul 30, 2026, 11:01 AM
Status
Modified
Published
Jul 30, 2026, 12:17 PM
Modified
Oct 23, 2026, 10:10 PM
Severity
Important
Public date
Jul 30, 2026, 12:00 AM