P3 · MediumCVSS 6.5
Coder 2.38.0 before 2.38.4 Authorization Bypass via External Agent Credentials Endpoint
- CVE-2026-126403
- GHSA-2c36-2hm9-rjrf
- EUVD-2026-125162
Description
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.
Text from the CVE.org record.
Affected
coder
- from 2.38.0 to before 2.38.4
- 2.38.4: not affected
- from 2.37.0 to before 2.37.8
- 2.37.8: not affected
- from 2.36.0 to before 2.36.11
- 2.36.11: not affected
- from 2.30.0 to before 2.34.16
- 2.34.16: not affected
- and 4 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.