{"id":"CVE-2026-44300","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-44300","generatedAt":"2026-10-28T04:46:47.286Z","title":"Prior to 1.121.0, the POST /serviceKey endpoint in pkg/costmodel/router.go allows a network client to invoke AddServiceKey without mandatory authentication and submit an arbitrary key form value that is written to the GCP service-account key.json file…","description":"OpenCost provides cost monitoring for Kubernetes workloads and cloud costs. Prior to 1.121.0, the POST /serviceKey endpoint in pkg/costmodel/router.go allows a network client to invoke AddServiceKey without mandatory authentication and submit an arbitrary key form value that is written to the GCP service-account key.json file returned by GetGCPAuthSecretFilePath in core/pkg/env/core.go. The attacker controls the file contents but not the CONFIG_PATH-derived directory, the key.json filename, or the file mode. Replacing the credential contents can disrupt GCP cost collection or cause OpenCost to use attacker-selected credentials, and the wildcard Access-Control-Allow-Origin response permits browser-assisted requests when the service is reachable from a browser. This issue is fixed in version 1.121.0.","published":"2026-09-15T18:17:21.000Z","lastModified":"2026-09-30T17:43:24.000Z","status":"Awaiting Analysis","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"4.0","score":8.8,"severity":"HIGH","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M"},"cwe":["CWE-20","CWE-309"],"affected":[],"epss":{"score":0.00753,"percentile":0.54841,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.75%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/opencost/opencost/commit/69430e7f627b3e62c8999312c06949267fab813a","source":"security-advisories@github.com"},{"url":"https://github.com/opencost/opencost/commit/a49a25bc2e0d6e220a131a4dc58f38ebe6ae851b","source":"security-advisories@github.com"},{"url":"https://github.com/opencost/opencost/pull/3651","source":"security-advisories@github.com"},{"url":"https://github.com/opencost/opencost/pull/3910","source":"security-advisories@github.com"},{"url":"https://github.com/opencost/opencost/releases/tag/v1.120.0","source":"security-advisories@github.com"},{"url":"https://github.com/opencost/opencost/releases/tag/v1.121.0","source":"security-advisories@github.com"},{"url":"https://github.com/opencost/opencost/security/advisories/GHSA-wmj8-9953-vff5","source":"security-advisories@github.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-44300","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}