Go
CVE-2026-126403
Coder 2.38.0 before 2.38.4 Authorization Bypass via External Agent Credentials Endpoint
- Severity
- High 8.5
- Published
- 13 Nov 2026
- Last changed
- 13 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 2.29.24, 2.34.16, 2.36.0, 2.36.11, 2.37.8, 2.38.4
- Exploit chance
- 0.3% in the next 30 daysHigher than 28% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Needs an administrator account · No user action needed
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
github.com/coder/coder/v2Go · osv:Go:github.com/coder/coder/v2 |
|
About github.com/coder/coder/v2
Vulnerabilities in github.com/coder/coder/v2
- In our list
- 9
- Published in the last 12 months
- 9
- Critical, last 12 months
- 0
- High, last 12 months
- 6
- Known exploited
- 0
- CVE-2026-134361Coder 2.37.0 before 2.37.1 Denial of Service via Agent RPC CallsHigh 7.1 21 Nov 2026
- CVE-2026-134362Coder from 2.38.0 before 2.38.6 CSRF Bypass via Unanchored Exemption PatternsLow 2.3 21 Nov 2026
- CVE-2026-134363Coder 2.38.0 before 2.38.5 Symlink Path Traversal via read_skill_fileLow 2.3 21 Nov 2026
- CVE-2026-126308Coder 2.38.0 before 2.38.2 Session Token Leak via Sub-Agent External AppsHigh 8.7 13 Nov 2026
- CVE-2026-126404Coder from 2.38.0 before 2.38.4 Privilege Escalation via API Key CreationHigh 7.6 13 Nov 2026
- CVE-2026-126405Coder from 2.38.0 before 2.38.4 Memory Exhaustion DoS via Web PushHigh 7.1 13 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-126403