Medium severity5.3NVD Advisory· Published Dec 2, 2026
CVE-2026-142238
CVE-2026-142238
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.
Affected products
1Patches
Vulnerability mechanics
References
4- github.com/opencost/opencost/blob/v1.121.5/core/pkg/util/apiutil/apiutil.gonvd
- github.com/opencost/opencost/blob/v1.121.5/core/pkg/util/apiutil/loglevel.gonvd
- github.com/opencost/opencost/blob/v1.121.5/pkg/cmd/costmodel/costmodel.gonvd
- www.vulncheck.com/advisories/opencost-through-1.121.5-missing-authentication-via-logs-level-and-logs-excludenvd
News mentions
0No linked articles in our index yet.