Skip to main content

koku-metrics-operator EUVDEUVD-2026-51095

| CVE-2026-18382 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-07-30 secalert@redhat.com GHSA-3f36-c5m8-4frw
6.8
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain CR edit RBAC rights
  2. Delivery
    Set authentication.type to service-account
  3. Exploit
    Inject attacker-controlled OAuth token URL into CR
  4. Install
    Operator reconciles updated CR
  5. C2
    Operator POSTs client_id and client_secret to attacker URL
  6. Execute
    Attacker captures Red Hat SSO credentials
  7. Impact
    Authenticate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (redhat) PRIMARY 6.8 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
vuln.today AI 6.8 MEDIUM

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Red Hat 6.8 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

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

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
OpenShift-specific cost management operator, niche enterprise footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Affected Products (CPE)CVE.org

cpe:2.3:a:redhat:cost_management_metrics_operator:-:*:*:*:*:openshift:*:*

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy