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
Share

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
qualitative

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

Lifecycle Timeline

2
Analysis Generated
Jul 30, 2026 - 12:31 vuln.today
CVE Published
Jul 30, 2026 - 12:17 nvd
HIGH 7.6

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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-2026-22039 CRITICAL POC
9.9 Jan 27

Kyverno Kubernetes policy engine prior to 1.x has a privilege escalation vulnerability (CVSS 9.9) allowing policy bypass

Vendor StatusVendor

Share

CVE-2026-18381 vulnerability details – vuln.today

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