PT-2026-66499 · Opencost · Opencost
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
OpenCost versions prior to 1.121.0
Description
Authentication is not properly enforced for the 'GET /helmValues' endpoint, which exposes the base64-decoded
HELM VALUES environment variable containing cloud provider credentials. Furthermore, the adminAuthMiddleware() function fails open when the ADMIN TOKEN variable is unset, enabling unauthenticated users to modify GCP service account keys through the 'POST /serviceKey' endpoint to redirect billing calls.Recommendations
Update to version 1.121.0 or later.
Ensure the
ADMIN TOKEN variable is properly set to prevent the authentication middleware from failing open.Exploit
Fix
Missing Authentication
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Opencost