CVE-2026-126403: Coder 2.38.0 before 2.38.4 Authorization Bypass via External Agent Credentials Endpoint

Published Nov 13, 2026
·
Updated

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

1 affected component
Coder Coder>=2.26.0<2.29.24, >=2.30.0<2.34.16, >=2.35.0<2.36.11, >=2.37.0<2.37.8, >=2.38.0<2.38.4

Event History

Nov 13, 2026
CVE Published
via MITRE·09:35 AM
Data Sourced
via MITRE·09:35 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which users can exploit this issue?

An attacker must be an authenticated user with workspace read access but without SSH permission. Roles such as Template Admin or Organization Admin are specifically identified as able to use the exposed agent token.

2

What can an attacker do with the returned workspace agent token?

The attacker can use it to read the workspace owner's private Git SSH key and Git provider OAuth tokens. They can also impersonate the workspace agent and receive the owner's sessions.

3

Which releases need to be updated?

Affected release ranges are 2.26.0 through before 2.29.24, 2.30.0 through before 2.34.16, 2.35.0 through before 2.36.11, 2.37.0 through before 2.37.8, and 2.38.0 through before 2.38.4.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203