CVE-2026-18382

Project-koku/koku-metrics-operator: koku-metrics-operator: service-account client credentials sent to user-controlled token_url

Published Jul 30, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in koku-metrics-operator. The operator's CostManagementMetricsConfig custom resource allows a user able to edit the CR to specify an arbitrary OAuth token endpoint. When authentication.type is set to service-account, the operator sends the tenant's Red Hat SSO client_id and client_secret to this user-controlled URL, allowing the attacker to obtain the credentials.

Analysis

AI-generated

Technical impact

The vulnerability lies in the CostManagementMetricsConfig custom resource used by the Cost Management Metrics Operator. An attacker who can edit this resource can specify an arbitrary OAuth token endpoint. When the operator is configured to use a service‑account for authentication, it sends the tenant’s Red Hat SSO client ID and client secret to the user‑controlled URL, exposing those credentials. The exposed client credentials enable the attacker to impersonate the tenant and perform privileged actions within the tenant’s environment. The weakness is a type of information‑exposure flaw (CWE‑918).

Affected Systems

This issue affects Red Hat Cost Management Metrics Operator, version 4 of the product.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate severity. The EPSS score is less than 1%, implying a very low probability of exploitation. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires an attacker to have permission to modify the CostManagementMetricsConfig custom resource, typically an administrator or a privileged cluster user. Once the CR is altered, the operator automatically transmits the client credentials to the attacker‑controlled endpoint without further user interaction, making the attack path simple for an authenticated privileged user.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor‑issued patch or upgrade to a fixed version of the Cost Management Metrics Operator as soon as it becomes available.
  • Limit permissions on the CostManagementMetricsConfig custom resource using RBAC so that only trusted administrative accounts can edit it.
  • Implement validation to ensure the token_url configuration points only to trusted, verified endpoints before the operator processes it.

Generated by OpenCVE AI on August 2, 2026 at 05:27 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 koku-metrics-operator. The operator's CostManagementMetricsConfig custom resource allows a user able to edit the CR to specify an arbitrary OAuth token endpoint. When authentication.type is set to service-account, the operator sends the tenant's Red Hat SSO client_id and client_secret to this user-controlled URL, allowing the attacker to obtain the credentials.
Title Project-koku/koku-metrics-operator: koku-metrics-operator: service-account client credentials sent to user-controlled token_url
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': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

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