# CVE-2026-18382: Red Hat koku-metrics-operator SSRF in CostManagementMetricsConfig

Source: https://junglewise.ai/threats/cve-2026-18382-red-hat-koku-metrics-operator-ssrf-in-costmanagementmetricsconfig  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-30. Updated: 2026-07-30  
License: CC BY 4.0 with a link back

CVE-2026-18382 · Severity: medium · CVSS 6.8 · Published 2026-07-30

A security vulnerability exists in the Red Hat Cost Management Metrics Operator, a tool used to manage and report cloud usage costs. An attacker with permissions to modify the operator's configuration can redirect sensitive login credentials to a server they control. If exploited, this allows the attacker to steal service account credentials and gain unauthorized access to the organization's Red Hat console data.

Technologies: [Red Hat Cost Management Metrics Operator](https://junglewise.ai/threats/technologies/cost-management-metrics-operator). Vendors: [Red Hat](https://junglewise.ai/threats/vendors/red-hat).

## Quick answers

**Is CVE-2026-18382 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-18382 being exploited in the wild.

**How severe is CVE-2026-18382?** Medium severity, with a CVSS score of 6.8, published 30 July 2026.

**Which products and versions are affected?** Red Hat Cost Management Metrics Operator unspecified.

**Is there a fix for CVE-2026-18382?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-18382 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-18382?** Check whether you run Red Hat Cost Management Metrics Operator at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A Server-Side Request Forgery (SSRF) vulnerability exists in the koku-metrics-operator's CostManagementMetricsConfig custom resource (CR). The 'token_url' field in the CR lacks proper host validation, allowing a user with 'create' or 'update' permissions on the resource to specify an arbitrary URL. When the authentication type is set to 'service-account', the operator performs a POST request containing the tenant's Red Hat SSO client_id and client_secret to the user-supplied URL. This allows an attacker to intercept credentials that grant 'api.console' scope on console.redhat.com. Remediation involves enforcing a strict allow-list for the token endpoint (e.g., *.redhat.com) and requiring HTTPS.

## Affected products

- Red Hat Cost Management Metrics Operator (koku-metrics-operator) unspecified

## Timeline

- 2026-07-30: disclosed: Vulnerability reported and published to NVD

## References

- [https://access.redhat.com/downloads/content/package-browser/](https://access.redhat.com/downloads/content/package-browser/)
- [https://access.redhat.com/security/cve/CVE-2026-18382](https://access.redhat.com/security/cve/CVE-2026-18382)
- [https://bugzilla.redhat.com/show_bug.cgi?id=2509253](https://bugzilla.redhat.com/show_bug.cgi?id=2509253)

## Related threats

- [Red Hat OpenShift koku-metrics-operator SSRF and Token Exfiltration](https://junglewise.ai/threats/cve-2026-18381-red-hat-openshift-koku-metrics-operator-ssrf-and-token)
- [Red Hat koku-metrics-operator SSRF in CostManagementMetricsConfig](https://junglewise.ai/threats/cve-2026-18378-red-hat-koku-metrics-operator-ssrf-in-costmanagementmetricsconfig)
