Description
OpenCost before 1.121.0 fails to authenticate the GET /helmValues endpoint, exposing base64-decoded HELM_VALUES environment variable containing cloud provider credentials. Additionally, adminAuthMiddleware fails open when ADMIN_TOKEN is unset, allowing unauthenticated attackers to modify GCP service account keys via POST /serviceKey to redirect billing calls.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-306 — Missing Authentication for Critical Function
Affected products
| Vendor | Product | Versions |
|---|---|---|
| opencost | opencost | 0 to <1.121.0 |
References
- https://github.com/opencost/opencost/issues/3893 (technical-description exploit)
- https://github.com/opencost/opencost/releases/tag/core/v1.121.0 (release-notes)
- https://github.com/opencost/opencost/pull/3910 (issue-tracking)
- https://github.com/opencost/opencost/commit/a49a25bc2e0d6e220a131a4dc58f38ebe6ae851b (patch)
- https://www.vulncheck.com/advisories/opencost-unauthenticated-helm-values-exposure-and-admin-bypass (third-party-advisory)
Generated from the official CVE List on 31 Jul 2026 07:05 UTC.