Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N
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.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
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.
Articles & Coverage 1
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.
More in Kubernetes
View allA critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access
Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio
Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c
Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter
A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne
Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai
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
Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can
Kyverno Kubernetes policy engine prior to 1.x has a privilege escalation vulnerability (CVSS 9.9) allowing policy bypass
Same weakness CWE-918 – Server-Side Request Forgery (SSRF)
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-51093
GHSA-wfh6-5fvj-2qcg