CVE-2026-18381

Project-koku/koku-metrics-operator: koku-metrics-operator: operator service-account token exfiltration via user-controlled prometheus service_address

Published Jul 30, 2026 CVSS 3.1 · 7.6 High EPSS < 1% KEV · Not listed
Description
A flaw was found in the koku-metrics-operator for Red Hat OpenShift. The operator's CostManagementMetricsConfig custom resource allows a user able to edit the CR to specify an arbitrary upload URL. The operator attaches its own Kubernetes service-account bearer token to queries sent to this user-controlled URL, allowing the attacker to obtain the token.

Analysis

AI-generated

Technical impact

A flaw in the koku‑metrics‑operator allows a user who can edit the CostManagementMetricsConfig custom resource to specify an arbitrary upload URL. The operator then attaches its own Kubernetes service‑account bearer token to requests sent to that URL, giving the attacker the ability to obtain the token. This is a CWE‑918 data‑exfiltration weakness that can compromise the confidentiality and integrity of cluster resources by providing a credential that can be used to impersonate privileged service accounts.

Affected Systems

The vulnerability affects Red Hat Cost Management Metrics Operator deployed on OpenShift. The official vendor name is "Red Hat Cost Management Metrics Operator". No specific version range is provided in the public data, so the applicability extends to all released versions of this operator.

Risk and Exploitability

The CVSS score of 7.6 indicates a high severity. The EPSS score of <1% (0.00197) indicates a very low but non‑zero exploitation probability. The vulnerability is not listed in the CISA KEV catalog. Attackers need permission to modify the CostManagementMetricsConfig resource, which typically requires cluster‑level or administrator privileges. The flaw therefore relies on privileged or elevated access, but once that is obtained the attacker can effortlessly exfiltrate a service‑account token by pointing the operator to a malicious URL.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Red Hat update that patches the koku‑metrics‑operator to reject arbitrary upload URLs or stop attaching the bearer token to outbound requests.
  • If a is not yet available, tighten RBAC so that only trusted users can edit the CostManagementMetricsConfig resource; revoke edit permissions from all other roles.
  • Audit existing CostManagementMetricsConfig instances and remove any non‑trusted upload URLs, ensuring that only whitelisted endpoints are used.
  • As an interim workaround, disable the operator’s automatic bearer‑token attachment until the formal patch is deployed.

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
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
Metrics ssvc

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

Type Values Removed Values Added
Description A flaw was found in the koku-metrics-operator for Red Hat OpenShift. The operator's CostManagementMetricsConfig custom resource allows a user able to edit the CR to specify an arbitrary upload URL. The operator attaches its own Kubernetes service-account bearer token to queries sent to this user-controlled URL, allowing the attacker to obtain the token.
Title Project-koku/koku-metrics-operator: koku-metrics-operator: operator service-account token exfiltration via user-controlled prometheus service_address
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:37 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