GHSA-57c3-85pg-fxgmMediumCVSS 5.3
OpenCost through 1.121.5 contains a missing authentication vulnerability that allows...
🔗 CVE IDs covered (1)
📋 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 (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-142238
- https://github.com/opencost/opencost/blob/v1.121.5/core/pkg/util/apiutil/apiutil.go#L11-L17
- https://github.com/opencost/opencost/blob/v1.121.5/core/pkg/util/apiutil/loglevel.go#L37-L51
- https://github.com/opencost/opencost/blob/v1.121.5/pkg/cmd/costmodel/costmodel.go#L114-L120
- https://www.vulncheck.com/advisories/opencost-through-1.121.5-missing-authentication-via-logs-level-and-logs-exclude
- https://github.com/advisories/GHSA-57c3-85pg-fxgm