{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-18381 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-18381 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-18381 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2026-18381 in the wild and no public exploit code.\n\nAffected product: Red Hat Cost Management 4. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-18381/ (Markdown: https://insights.sbomify.com/CVE-2026-18381/index.md)","id":"CVE-2026-18381","markdown":"https://insights.sbomify.com/CVE-2026-18381/index.md","name":"CVE-2026-18381","record":{"aliases":["GHSA-wfh6-5fvj-2qcg"],"analysis":{"component_type":"cloud_service","fix_type":"patch","impacts":["data_read","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenShift metrics operator","requires_auth":"high_privilege","summary":"An attacker with edit access to the CostManagementMetricsConfig resource can exfiltrate the operator's service-account token by specifying a malicious Prometheus URL.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"cost_management_metrics_operator","vendor":"redhat"}],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Server-side request forgery in Cost Management 4","id":"CVE-2026-18381","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Server-side request forgery in Cost Management 4","id":"CVE-2026-18382"},"packages":[],"prev":{"headline":"Server-side request forgery in Cost Management 4","id":"CVE-2026-18378"},"products":["Cost Management 4"],"published":"2026-07-30","related":[{"cvss_score":7.6,"headline":"Server-side request forgery in Cost Management 4","id":"CVE-2026-18378","kev_date_added":null,"published":"2026-07-30"},{"cvss_score":6.8,"headline":"Server-side request forgery in Cost Management 4","id":"CVE-2026-18382","kev_date_added":null,"published":"2026-07-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-12","vendors":["Red Hat"]},"summary":"An attacker with edit access to the CostManagementMetricsConfig resource can exfiltrate the operator's service-account token by specifying a malicious Prometheus URL.","url":"https://insights.sbomify.com/CVE-2026-18381/"}