<Vulnerability name="CVE-2026-18382">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Moderate</ThreatSeverity>
    <PublicDate>2026-07-30T00:00:00</PublicDate>
    <Bugzilla id="2509253" url="https://bugzilla.redhat.com/show_bug.cgi?id=2509253" xml:lang="en:us">
project-koku/koku-metrics-operator: koku-metrics-operator: service-account client credentials sent to user-controlled token_url
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>6.8</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-918</CWE>
    <Details xml:lang="en:us" source="Mitre">
A flaw was found in koku-metrics-operator. The operator's CostManagementMetricsConfig custom resource allows a user able to edit the CR to specify an arbitrary OAuth token endpoint. When authentication.type is set to service-account, the operator sends the tenant's Red Hat SSO client_id and client_secret to this user-controlled URL, allowing the attacker to obtain the credentials.
    </Details>
    <Details xml:lang="en:us" source="Red Hat">
A flaw was found in koku-metrics-operator. The operator's CostManagementMetricsConfig custom resource allows a user able to edit the CR to specify an arbitrary OAuth token endpoint. When authentication.type is set to service-account, the operator sends the tenant's Red Hat SSO client_id and client_secret to this user-controlled URL, allowing the attacker to obtain the credentials.
    </Details>
    <PackageState cpe="cpe:/a:redhat:cost_management:4">
        <ProductName>Cost Management Metrics Operator</ProductName>
        <FixState>Affected</FixState>
        <PackageName>costmanagement/costmanagement-metrics-rhel9-operator</PackageName>
    </PackageState>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-18382
https://nvd.nist.gov/vuln/detail/CVE-2026-18382
    </References>
</Vulnerability>