Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain CR edit RBAC rights
-
DeliverySet authentication.type to service-account
-
ExploitInject attacker-controlled OAuth token URL into CR
-
InstallOperator reconciles updated CR
-
C2Operator POSTs client_id and client_secret to attacker URL
-
ExecuteAttacker captures Red Hat SSO credentials
-
ImpactAuthenticate to Red Hat SSO as tenant service account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold Kubernetes RBAC permissions sufficient to create or update a CostManagementMetricsConfig custom resource in a namespace where koku-metrics-operator is active - this high-privilege prerequisite is mapped to CVSS PR:H and is the primary limiting factor. Additionally, the CostManagementMetricsConfig CR must have authentication.type set to service-account, either pre-existing in the cluster or writable by the attacker after gaining CR edit access. The attacker must control or observe a server reachable from the operator pod's network egress path to receive the forwarded credentials. Exploitation is bounded by: (1) deployments where Red Hat cost management integration via koku-metrics-operator is active; (2) absence of network egress restrictions on the operator pod; (3) RBAC configurations that grant CostManagementMetricsConfig edit or patch rights to non-admin principals. Default OpenShift RBAC confines these rights to cluster-admin, meaning exploitation in hardened environments requires prior privilege escalation or insider access. |
| Impact | The CVSS 6.8 score with vector AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N reflects a realistic threat model. The High-privilege prerequisite (PR:H) is the primary mitigating factor - the attacker must hold Kubernetes RBAC rights to edit or patch CostManagementMetricsConfig resources, which in standard OpenShift deployments is restricted to cluster-admin roles. This limits the realistic threat to insider threats, compromised administrator accounts, or misconfigured namespace RBAC. The Scope:Changed and Confidentiality:High metrics are accurate: the operator process carries Red Hat SSO credentials that the attacker could not otherwise access, and their exfiltration enables downstream authentication impersonation. No EPSS data was provided, KEV status is absent, and no POC is referenced - real-world exploitation probability is unconfirmed from available intelligence. SSRF with credential forwarding in Kubernetes operators is a well-understood attack class, making exploitation technically straightforward once the privilege prerequisite is satisfied. The attack is not automatable at scale due to the PR:H requirement. |
| Exploit ScenarioDerived | An attacker holding Kubernetes RBAC edit rights on the CostManagementMetricsConfig CR - obtained through a compromised developer account or a misconfigured namespace policy - modifies the OAuth token endpoint field to point to an attacker-controlled HTTPS server and ensures authentication.type is set to service-account. The next time the koku-metrics-operator reconciles the CR, it performs an HTTP POST to the attacker's endpoint, including the tenant's Red Hat SSO client_id and client_secret in the request body. The attacker extracts the credentials from the inbound log, then authenticates directly against Red Hat SSO to access cloud cost management APIs or enumerate tenancy billing data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 30, 2026
Credential exfiltration in koku-metrics-operator allows a privileged user with edit access to the CostManagementMetricsConfig custom resource to redirect the operator's OAuth token requests to an attacker-controlled endpoint, exposing the tenant's Red Hat SSO client_id and client_secret. The operator's service-account authentication mode unconditionally forwards these credentials to whatever OAuth token URL is configured in the CR, acting as a confused deputy on behalf of the CR editor. No public exploit code has been identified and the vulnerability is not listed in CISA KEV, but the CVSS Scope:Changed metric reflects that the operator process holds credentials inaccessible to the CR editor directly, amplifying impact beyond the initial access tier.
RemediationAI
The primary remediation is to apply the vendor-released patch from Red Hat once published; monitor https://access.redhat.com/security/cve/CVE-2026-18382 for the patched operator version and upgrade instructions, as no specific fix version was confirmed in the available intelligence. Until a patch is available, two compensating controls are recommended. First, audit and restrict Kubernetes RBAC immediately: run 'kubectl get rolebindings,clusterrolebindings -A -o yaml | grep CostManagementMetricsConfig' to enumerate who currently holds edit or patch rights on these CRs, and remove access from any non-admin principals - trade-off is potential disruption to delegated cost management workflows. Second, enforce network egress policy on the operator's pod namespace to permit outbound traffic only to known Red Hat SSO endpoints (e.g., sso.redhat.com), preventing the operator from reaching an attacker-controlled URL even if the CR is tampered - test thoroughly before production deployment, as overly broad egress blocks may disrupt legitimate cost-reporting telemetry.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
koku-metrics-operator is a Kubernetes operator deployed in OpenShift clusters that reconciles the CostManagementMetricsConfig custom resource (CR) to facilitate cloud cost reporting through Red Hat's cost management service. When authentication.type is set to service-account, the operator implements OAuth client-credentials flow, constructing an HTTP POST to a configurable token endpoint and including the tenant's client_id and client_secret. CWE-918 (Server-Side Request Forgery) applies precisely here: the operator trusts a user-supplied URL embedded in the CR and makes outbound requests on behalf of the cluster, carrying secrets that the CR editor would not otherwise have direct access to. The absence of URL allowlisting or validation in the CR reconciliation loop is the root cause - the operator is weaponized as a credential-forwarding proxy by anyone who can write to the CR.
Know when Cost Management Metrics Operator gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
PR:H required to edit the CR; S:C because the operator acts as a confused deputy forwarding credentials the CR editor cannot access directly; no integrity or availability impact applies.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Affected Products (CPE)CVE.org
Service-account token disclosure in the Red Hat OpenShift koku-metrics-operator lets a user with edit rights on the Cost
Bearer-token disclosure in the Red Hat koku-metrics-operator lets a user with edit rights over the CostManagementMetrics
EUVD-2026-51095
GHSA-3f36-c5m8-4frw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB