Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2025-66411

Coder logs sensitive objects unsanitized
Back to all
CVE

CVE-2025-66411

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:

  • https://github.com/coder/coder/releases/tag/v2.28.4
  • https://github.com/coder/coder/releases/tag/v2.27.7
  • https://github.com/coder/coder/releases/tag/v2.26.5

Workarounds

One potential workaround is to disable Workspace Agent Logs by setting following configuration option

CODERAGENTLOGGING_HUMAN=/dev/null 

platform operators are advised to upgrade their deployments

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.8
-
3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://github.com/coder/coder/security/advisories/GHSA-jf75-p25m-pw74, https://nvd.nist.gov/vuln/detail/CVE-2025-66411, https://github.com/coder/coder/pull/20968, https://github.com/coder/coder/commit/06c6abbe0935f9213c1588add60a396da5762e1c, https://github.com/coder/coder/commit/a75205a559211c8aa494b1a16750d114b263f24a, https://github.com/coder/coder/commit/e2a46393fce40bc630df3293c1ee66a596277289, https://github.com/coder/coder, https://github.com/coder/coder/releases/tag/v2.26.5, https://github.com/coder/coder/releases/tag/v2.27.7, https://github.com/coder/coder/releases/tag/v2.28.4

Severity

7.8

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.8
EPSS Probability
0.00015%
EPSS Percentile
0.02508%
Introduced Version
0,2.27.0,2.28.0
Fix Available
2.26.5,2.27.7,2.28.4

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading