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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| opencost | opencost | < 1.121.0 |
References
- https://github.com/opencost/opencost/commit/a49a25bc2e0d6e220a131a4dc58f38ebe6ae851b
- https://github.com/opencost/opencost/issues/3893
- https://github.com/opencost/opencost/pull/3910
- https://github.com/opencost/opencost/releases/tag/core/v1.121.0
- https://www.vulncheck.com/advisories/opencost-unauthenticated-helm-values-exposure-and-admin-bypass
Timeline
- Published
- Jul 30, 2026
- Last modified
- Jul 31, 2026
- NVD status
- Deferred