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.
Published: 2026-07-30
Score: 7.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Mon, 17 Aug 2026 14:00:00 +0000

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

Fri, 31 Jul 2026 23:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 31 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Thu, 30 Jul 2026 15:45:00 +0000

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

Thu, 30 Jul 2026 12:15:00 +0000

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'}


Subscriptions

Red Hat Cost Management Metrics Operator
Redhat Cost Management Cost Management Metrics Operator
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-07-31T22:49:03.326Z

Reserved: 2026-07-30T11:01:08.520Z

Link: CVE-2026-18378

cve-icon Vulnrichment

Updated: 2026-07-31T22:48:58.608Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-30T12:17:27.553

Modified: 2026-08-17T13:51:56.953

Link: CVE-2026-18378

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-30T00:00:00Z

Links: CVE-2026-18378 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T05:30:06Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)