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.
Published: 2026-07-30
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

OpenCost prior to version 1.121.0 allows unauthenticated GET requests to the /helmValues endpoint, exposing the base64‑decoded HELM_VALUES environment variable that contains cloud provider credentials. Additionally, when the ADMIN_TOKEN environment variable is unset, the adminAuthMiddleware fails open, permitting unauthenticated attackers to submit POST requests to /serviceKey and modify Google Cloud Platform service account keys so that billing calls can be redirected. The result is the theft of privileged cloud credentials and a potential administrative bypass that could lead to unauthorized billing and data access. This weakness is identified as CWE‑306, missing authentication.

Affected Systems

Products affected are OpenCost from the OpenCost vendor. Any installation of OpenCost with a version earlier than 1.121.0, including releases such as 1.120.x and earlier, is vulnerable. The issue was fixed in OpenCost release core/v1.121.0.

Risk and Exploitability

The CVSS score of 8.7 categorizes this flaw as a high‑severity vulnerability with widespread impact. The EPSS score of < 1% indicates a very low but non‑zero exploitation probability. The lack of authentication on the /helmValues and /serviceKey endpoints means an attacker who can reach the OpenCost service over the network can exploit this flaw without additional privileges. The vulnerability is not listed in CISA KEV, so no known active exploit is documented in that catalog; however, the straightforward nature of the attack vector makes it a likely candidate for exploitation by malicious actors.

Generated by OpenCVE AI on August 3, 2026 at 10:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenCost to version 1.121.0 or later.
  • Set the ADMIN_TOKEN environment variable to enable proper authentication in adminAuthMiddleware.
  • Restrict network access to the /helmValues and /serviceKey endpoints so that only trusted systems can query them.
  • If a breach is suspected, rotate any compromised GCP service account keys immediately.

Generated by OpenCVE AI on August 3, 2026 at 10:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 31 Jul 2026 23:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 30 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Opencost
Opencost opencost
Vendors & Products Opencost
Opencost opencost

Thu, 30 Jul 2026 15:00:00 +0000

Type Values Removed Values Added
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.
Title OpenCost < 1.121.0 Unauthenticated Helm Values Exposure and Admin Bypass
Weaknesses CWE-306
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, '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'}


Subscriptions

Opencost Opencost
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-31T22:56:13.763Z

Reserved: 2026-07-29T13:36:36.277Z

Link: CVE-2026-67349

cve-icon Vulnrichment

Updated: 2026-07-31T22:56:08.385Z

cve-icon NVD

Status : Deferred

Published: 2026-07-30T15:16:36.900

Modified: 2026-07-31T23:17:26.310

Link: CVE-2026-67349

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T11:00:03Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function