SCA: security update for github.com/opencost/opencost (GHSA-wmj8-9953-vff5)

high Tenable Self-Hosted Container Security Plugin ID 444700

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-44300)

Solution

Update the github.com/opencost/opencost library and its related packages to version 1.119.1 or later.

See Also

https://github.com/advisories/GHSA-wmj8-9953-vff5

Plugin Details

Severity: High

ID: 444700

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 7/14/2026

Updated: 9/16/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.1

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2026-44300

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.8

Threat Score: 6.8

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/14/2026

Vulnerability Publication Date: 7/14/2026

Reference Information

CVE: CVE-2026-44300