github.com/coder/coder/v2
Affected
- introduced
0, fixed2.26.5(semver)
Fixed versions
2.26.5
Fix
- Fixed version
2.26.5go get github.com/coder/coder/[email protected]
Advisory
Also known as: CVE-2025-66411, GO-2025-4182
Coder logs sensitive objects unsanitized
Summary
Workspace Agent manifests containing sensitive values were logged in plaintext unsanitized
Details
By default Workspace Agent logs are redirected to stderr
https://github.com/coder/coder/blob/a8862be546f347c59201e2219d917e28121c0edb/cli/agent.go#L432-L439
Workspace Agent Manifests containing sensitive environment variables were logged insecurely
https://github.com/coder/coder/blob/7beb95fd56d2f790502e236b64906f8eefb969bd/agent/agent.go#L1090
An attacker with limited local access to the Coder Workspace (VM, K8s Pod etc.) or a third-party system (SIEM, logging stack) could access those logs
This behavior opened room for unauthorized access and privilege escalation
Impact
Impact varies depending on the environment variables set in a given workspace
Patches
Fix was released & backported:
Workarounds
One potential workaround is to disable Workspace Agent Logs by setting following configuration optionCODER_AGENT_LOGGING_HUMAN=/dev/null
> platform operators are advised to upgrade their deployments
High Basis: The source's own band: HIGH
0, fixed 2.26.5 (semver)2.26.5
2.26.5go get github.com/coder/coder/[email protected]2.27.0, fixed 2.27.7 (semver)2.27.7
2.27.7go get github.com/coder/coder/[email protected]2.28.0, fixed 2.28.4 (semver)2.28.4
2.28.4go get github.com/coder/coder/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0