CVE-2026-18382
Analyzed Analyzed - Analysis Complete

koku-metrics-operator OAuth Token Endpoint Exposure

Vulnerability report for CVE-2026-18382, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-30

Last updated on: 2026-08-12

Assigner: redhat-SADP

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-30
Last Modified
2026-08-12
Generated
2026-08-19
AI Q&A
2026-07-30
EPSS Evaluated
2026-08-18
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
redhat cost_management_metrics_operator *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the koku-metrics-operator's CostManagementMetricsConfig custom resource. It allows a user with edit permissions to set 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, potentially exposing these credentials to an attacker.

Detection Guidance

Check for unauthorized modifications to the CostManagementMetricsConfig CRD in your koku-metrics-operator deployment. Inspect logs for unexpected HTTP POST requests to external endpoints from the operator. Verify that the token_url field in any CostManagementMetricsConfig resources does not point to untrusted domains.

Impact Analysis

An attacker could obtain the client_id and client_secret, gaining access to the api.console scope on console.redhat.com for your organization. This could lead to unauthorized access to sensitive data or services associated with your Red Hat account.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive credentials, potentially exposing personal or health data. If credentials are compromised, attackers may gain access to systems handling regulated data, violating GDPR or HIPAA requirements for data protection and access control.

Mitigation Strategies

Update the koku-metrics-operator to a patched version where the token_url is hard-coded to the Red Hat SSO endpoint or enforce a suffix allow-list (e.g., *.redhat.com) in the GetAccessToken function. Remove any existing CostManagementMetricsConfig resources with modified token_url fields and revoke any exposed client_id and client_secret credentials.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-18382. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart