CVE-2026-126403
Coder 2.26.0 before 2.29.24, 2.30.0 before 2.34.16, 2.35.0 before 2.36.11, 2.37.0 before 2.37.8, and 2.38.0 before 2.38.4 contains an improper authorization fl…
Impact
Coder 2.26.0 before 2.29.24, 2.30.0 before 2.34.16, 2.35.0 before 2.36.11, 2.37.0 before 2.37.8, and 2.38.0 before 2.38.4 contains an improper authorization flaw in the external agent credentials endpoint, which returns the workspace agent token to users with only workspace read access rather than ssh permission. Authenticated users with roles such as Template Admin or Organization Admin can use the token to read the owner's private Git SSH key and Git provider OAuth tokens, and impersonate the agent to receive the owner's sessions.
An attacker can exploit this over the network, with an administrator account, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed.
Affected products · Coder
| Product | Affected versions |
|---|---|
| Coder | from 2.38.0 before 2.38.4 from 2.37.0 before 2.37.8 from 2.36.0 before 2.36.11 from 2.30.0 before 2.34.16 from 2.26.0 before 2.29.24 from 2.35.0 before 2.36.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/coder/coder/security/advisories/GHSA-9frj-7f83-x984
- https://www.vulncheck.com/advisories/coder-2.38.0-before-2.38.4-authorization-bypass-via-external-agent-credentials-endpoint
- https://github.com/advisories/GHSA-2c36-2hm9-rjrf
- https://nvd.nist.gov/vuln/detail/CVE-2026-126403