CVE-2026-142238: OpenCost · Missing Authentication
Affects OpenCostSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium.
Data as of 2 Dec 2026, 17:00 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.9 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.3 |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| opencostOpenCost | Affected
| Fixed in– |
GoOpenCostpkg:golang/OpenCostOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
OpenCost through 1.121.5 contains a missing authentication vulnerability that allows unauthenticated attackers to change logging configuration through the POST /logs/level and /logs/exclude diagnostic endpoints. Attackers reaching the API port can disable logging, set verbose levels, or install exclusion patterns to suppress the audit trail or flood service logs.
References
- github.com/opencost/opencost/blob/v1.121.5/core/pkg/util/apiutil/apiutil.go (opens in a new tab)
- github.com/opencost/opencost/blob/v1.121.5/core/pkg/util/apiutil/loglevel.go (opens in a new tab)
- github.com/opencost/opencost/blob/v1.121.5/pkg/cmd/costmodel/costmodel.go (opens in a new tab)
- vulncheck.com/advisories/opencost-through-1.121.5-missing-authentication-via-logs-level-and-logs-exclude (opens in a new tab)