{"id":"CVE-2025-66411","aliases":["CVE-2025-66411","GHSA-jf75-p25m-pw74","GO-2025-4182"],"related":[],"kind":"vulnerability","state":"published","title":"Coder logged sensitive objects unsanitized","summary":"Coder allows organizations to provision remote development environments via Terraform. Prior to 2.26.5, 2.27.7, and 2.28.4, Workspace Agent manifests containing sensitive values were logged in plaintext unsanitized. 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 vulnerability is fixed in 2.26.5, 2.27.7, and 2.28.4.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Coder allows organizations to provision remote development environments via Terraform. Prior to 2.26.5, 2.27.7, and 2.28.4, Workspace Agent manifests containing sensitive values were logged in plaintext unsanitized. 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 vulnerability is fixed in 2.26.5, 2.27.7, and 2.28.4.","source":"cvelist"},{"lang":"en","text":"## Summary\nWorkspace Agent manifests containing sensitive values were logged in plaintext unsanitized\n\n## Details\nBy default Workspace Agent logs are redirected to [stderr](https://linux.die.net/man/3/stderr)\nhttps://github.com/coder/coder/blob/a8862be546f347c59201e2219d917e28121c0edb/cli/agent.go#L432-L439\n\n[Workspace Agent Manifests](https://coder.com/docs/reference/agent-api/schemas#agentsdkmanifest) containing sensitive environment variables were logged insecurely\nhttps://github.com/coder/coder/blob/7beb95fd56d2f790502e236b64906f8eefb969bd/agent/agent.go#L1090\n\nAn attacker with limited local access to the Coder Workspace (VM, K8s Pod etc.) or a third-party system ([SIEM](https://csrc.nist.gov/glossary/term/security_information_and_event_management_tool), logging stack) could access those logs\n\nThis behavior opened room for unauthorized access and privilege escalation\n\n## Impact\nImpact varies depending on the environment variables set in a given workspace\n\n## Patches\n[Fix](https://github.com/coder/coder/commit/e2a46393fce40bc630df3293c1ee66a596277289) was released & backported:\n- https://github.com/coder/coder/releases/tag/v2.28.4\n- https://github.com/coder/coder/releases/tag/v2.27.7\n- https://github.com/coder/coder/releases/tag/v2.26.5\n\n## Workarounds\nOne potential workaround is to disable Workspace Agent Logs by setting following configuration option\n`CODER_AGENT_LOGGING_HUMAN=/dev/null` \n> platform operators are advised to upgrade their deployments","format":"markdown","source":"ghsa"},{"lang":"en","text":"Coder logs sensitive objects unsanitized in github.com/coder/coder","format":"markdown","source":"go"},{"lang":"es","text":"Coder permite a las organizaciones aprovisionar entornos de desarrollo remotos a través de Terraform. En versiones anteriores a 2.26.5, 2.27.7 y 2.28.4, los manifiestos del Agente de Espacio de Trabajo que contenían valores sensibles se registraban en texto plano sin depurar. Un atacante con acceso local limitado al Espacio de Trabajo de Coder (VM, Pod de K8s, etc.) o a un sistema de terceros (SIEM, pila de registro) podría acceder a esos registros. Esta vulnerabilidad está corregida en 2.26.5, 2.27.7 y 2.28.4.","source":"nvd"}],"published":"2025-12-03T16:28:36.000Z","modified":"2026-06-17T09:56:47.553Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-532"],"affected":[{"ranges":[{"version":">= 2.28.0, < 2.28.4","status":"affected"},{"version":">= 2.27.0, < 2.27.7","status":"affected"},{"version":"< 2.26.5","status":"affected"}],"vendor":"coder","product":"coder","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.26.5"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.27.0","status":"affected","fixed":"2.27.7"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.28.0","status":"affected","fixed":"2.28.4"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/coder/coder","purl":"pkg:golang/github.com/coder/coder","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.26.5"},{"type":"semver","introduced":"2.27.0","status":"affected","fixed":"2.27.7"},{"type":"semver","introduced":"2.28.0","status":"affected","fixed":"2.28.4"}],"ecosystem":"Go","package":"github.com/coder/coder/v2","purl":"pkg:golang/github.com/coder/coder/v2","source":"go"},{"ranges":[{"status":"affected","fixed":"2.26.5"},{"status":"affected","introduced":"2.27.0","fixed":"2.27.7"},{"status":"affected","introduced":"2.28.0","fixed":"2.28.4"}],"vendor":"coder","product":"coder","cpe":"cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-jf75-p25m-pw74","tags":["advisory","exploit","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/coder/coder/commit/e2a46393fce40bc630df3293c1ee66a596277289","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/coder/coder/releases/tag/v2.26.5","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/coder/coder/releases/tag/v2.27.7","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/coder/coder/releases/tag/v2.28.4","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66411","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/coder/coder/pull/20968","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/coder/coder/commit/06c6abbe0935f9213c1588add60a396da5762e1c","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/coder/coder/commit/a75205a559211c8aa494b1a16750d114b263f24a","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/coder/coder","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-12-03T21:41:56.452Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66411","url":"https://www.cve.org/CVERecord?id=CVE-2025-66411","licence":"CVE Terms of Use","modified":"2025-12-03T21:42:17.349Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jf75-p25m-pw74","url":"https://github.com/advisories/GHSA-jf75-p25m-pw74","licence":"CC-BY-4.0","modified":"2025-12-09T17:57:20.534Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-4182","url":"https://pkg.go.dev/vuln/GO-2025-4182","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:45.036Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66411","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66411","licence":"Public domain","modified":"2026-06-17T09:56:47.553Z"}],"updatedAt":"2026-11-25T22:59:08.244Z","epss":{"score":0.00249,"percentile":0.1736,"date":"2026-12-01T12:00:22.000Z"}}