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

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Wed, 12 Aug 2026 19:45: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 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


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 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


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


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-30T13:05:36.789Z

Reserved: 2026-07-30T11:46:08.800Z

Link: CVE-2026-18382

cve-icon Vulnrichment

Updated: 2026-07-30T13:05:32.303Z

cve-icon NVD

Status : Analyzed

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

Modified: 2026-08-12T19:33:08.480

Link: CVE-2026-18382

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-18382 - Bugzilla

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)