CVE-2026-18381 Server-side request forgery in Cost Management 4
An attacker with edit access to the CostManagementMetricsConfig resource can exfiltrate the operator's service-account token by specifying a malicious Prometheus URL.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-18381?
CVE-2026-18381 is a high-severity server-side request forgery vulnerability in Red Hat Cost Management 4, published on 30 Jul 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
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.
Weakness: CWE-918
Which versions are affected by CVE-2026-18381?
It affects 1 product.
Products include Redhat Cost Management Metrics Operator.
How do I fix CVE-2026-18381?
No fix has been published for CVE-2026-18381 yet. Limit exposure of the affected software until one is available.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-18381 being exploited?
There is no known exploitation of CVE-2026-18381 in the wild and no public exploit code.
Other vulnerabilities in Red Hat Cost Management 4
Sources
Also known as GHSA-wfh6-5fvj-2qcg.