Skip to main content

koku-metrics-operator CVE-2026-18381

| EUVDEUVD-2026-51093 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-07-30 secalert@redhat.com GHSA-wfh6-5fvj-2qcg
7.6
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain RBAC edit rights on CostManagementMetricsConfig CR
  2. Delivery
    Set upload URL to attacker-controlled server
  3. Exploit
    Operator sends request with SA bearer token
  4. Execution
    Capture leaked service-account token
  5. Impact
    Replay token to impersonate operator in cluster

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 that the attacker already possess RBAC permission to edit (patch/update) the koku-metrics-operator's CostManagementMetricsConfig custom resource on an OpenShift cluster where the operator is installed and periodically uploading metrics; the concrete trigger is setting the CR's upload URL field to an attacker-controlled endpoint. The operator must reach that URL with outbound network connectivity and must be configured to attach its service-account bearer token to the request (its default upload behavior). Limiting factors: this is not remote-unauthenticated - it needs existing in-cluster write privileges on the CR (PR:H), the operator must be deployed and running its upload cycle, and egress from the operator to the attacker host must be permitted; NetworkPolicy egress restrictions or removal of edit rights on the CR each break the chain.

Impact

The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N scores 7.6 (High), driven by low attack complexity, a changed scope (the stolen operator token grants authority beyond the vulnerable component), and high confidentiality impact. The critical limiter is PR:H - the attacker must already hold RBAC write/edit permission on the CostManagementMetricsConfig CR, so this is an authenticated, privilege-dependent flaw rather than an anonymous internet-facing bug. No EPSS score, SSVC decision, or POC indicator was supplied, and the CVE is not listed in CISA KEV, so there is no evidence of active exploitation; treat this as a real but conditional insider/lateral-movement escalation risk rather than a mass-exploitation emergency. The 'S:C' and CWE-918 classification are consistent with the described token-theft-to-impersonation pathway. Note a nuance: AV:N reflects that the exfiltration destination is a network URL, but the actual precondition (editing a cluster CR) requires existing cluster access - defenders should weight the PR:H gate heavily.

Exploit ScenarioDerived

A developer or compromised service account that holds edit rights on the CostManagementMetricsConfig CR in an OpenShift cluster changes the upload URL to a listener they control. On the next scheduled upload the operator connects out and attaches its Kubernetes service-account bearer token, which the attacker captures and replays against the Kubernetes API to act with the operator's privileges. No public exploit code was identified, but the technique requires only a single CR edit and a web listener, so exploitation is low-complexity for anyone already inside the cluster.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 30, 2026

Service-account token disclosure in the Red Hat OpenShift koku-metrics-operator lets a user with edit rights on the CostManagementMetricsConfig custom resource redirect metrics uploads to an attacker-controlled URL, to which the operator blindly attaches its own Kubernetes bearer token. This CWE-918 server-side request forgery (tagged SSRF/Kubernetes/Red Hat) yields the operator's service-account credentials, enabling in-cluster privilege escalation. Reported by Red Hat with a CVSS 3.1 base of 7.6 (scope-changed); no public exploit identified at time of analysis and it is not in CISA KEV.

RemediationAI

No vendor-released patch version was identified in the provided data, so consult the Red Hat advisory (https://access.redhat.com/security/cve/CVE-2026-18381) and Bugzilla 2509251 (https://bugzilla.redhat.com/show_bug.cgi?id=2509251) for the fixed operator build and upgrade to it once published. As immediate compensating controls, tighten RBAC so that only trusted cluster administrators can create or edit CostManagementMetricsConfig resources - audit and revoke edit/patch verbs on this CRD from namespace users, service accounts, and CI pipelines (trade-off: legitimate operators managing cost-metrics config lose self-service and must route changes through admins). Additionally, restrict the operator's egress with a NetworkPolicy or egress firewall that only permits connections to Red Hat's cost-management ingress hosts (trade-off: any change to legitimate upstream endpoints requires policy updates), and monitor operator outbound traffic and CR modifications for unexpected upload URLs. If the operator is not actively used, uninstall it to eliminate the exposed token.

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

The koku-metrics-operator is a Kubernetes Operator running on Red Hat OpenShift that collects OpenShift usage/cost metrics and uploads them to Red Hat's cost-management (Koku/Cost Management) ingress service. Its behavior is driven by the CostManagementMetricsConfig custom resource, which exposes the destination upload endpoint as an operator-controlled setting. The root cause is CWE-918 (Server-Side Request Forgery): the operator treats the CR's upload URL as trusted and outbound requests to that URL carry the operator's mounted Kubernetes service-account bearer token in the Authorization header. Because there is no allowlist or validation restricting the URL to Red Hat's ingress endpoints, any principal with write access to the CR can coerce the operator into sending its credential to an arbitrary host. No CPE strings were provided in the input, so exact affected versions must be confirmed via the Red Hat advisory.

Know when Kubernetes 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

NVD PRIMARY 7.6 HIGH
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N
vuln.today AI 7.7 HIGH

Requires existing edit rights on the CR (PR:L) but low complexity; stolen operator token crosses a security boundary (S:C) with high confidentiality disclosure and no direct integrity/availability impact.

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

Primary rating from NVD.

CVSS VectorNVD

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

DescriptionNVD

A flaw was found in the koku-metrics-operator for Red Hat OpenShift. The operator's CostManagementMetricsConfig custom resource allows a user able to edit the CR to specify an arbitrary upload URL. The operator attaches its own Kubernetes service-account bearer token to queries sent to this user-controlled URL, allowing the attacker to obtain the token.

Executive ViewAI

Why It Matters

Red Hat OpenShift's koku-metrics-operator contains a service-account token disclosure vulnerability that allows edit-privileged users to redirect metrics uploads to attacker-controlled servers and capture the operator's Kubernetes bearer token. This enables in-cluster privilege escalation with no current vendor patch available, affecting all organizations running this operator on OpenShift clusters.

Business Impact: High
Compensating Controls

Restrict RBAC permissions on CostManagementMetricsConfig to only essential service accounts; implement egress network policies to limit operator outbound connectivity to known metrics endpoints; establish monitoring for unexpected metrics upload redirects or egress to unauthorized targets; rotate the metrics-operator service-account token regularly; consider temporary disabling of cost metrics collection in high-risk cluster environments until patch availability is confirmed.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche OpenShift cost-metrics operator, limited to specific Red Hat deployments
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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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)NVD

cpe:2.3:a:redhat:cost_management_metrics_operator:-:*:*:*:*:openshift:*:*
CVE-2025-1974 CRITICAL POC
9.8 Mar 25

A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access

CVE-2026-45321 CRITICAL POC
9.6 May 12

Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio

CVE-2025-1098 HIGH POC
8.8 Mar 25

Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress

CVE-2025-24514 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres

CVE-2025-1097 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c

CVE-2020-8554 MEDIUM POC
6.3 Jan 21

Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter

CVE-2023-3676 HIGH POC
8.8 Oct 31

A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate

CVE-2025-55190 CRITICAL POC
9.9 Sep 04

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne

CVE-2026-34976 CRITICAL POC
10.0 Apr 02

Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4

CVE-2026-54680 CRITICAL POC
9.9 Jul 29

Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can

CVE-2025-64709 CRITICAL POC
9.9 Nov 13

Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar

Vendor StatusVendor

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