CVE-2026-126308: Coder 2.38.0 before 2.38.2 Session Token Leak via Sub-Agent External Apps

Published Nov 13, 2026
·
Updated

The web dashboard in Coder 2.24.0 before 2.29.23, 2.30.0 before 2.34.14, 2.35.0 before 2.36.9, 2.37.0 before 2.37.6, and 2.38.0 before 2.38.2 replaces the $SESSIONTOKEN placeholder in external app URLs with a full-access API key without checking whether the app belongs to a sub-agent. Code running in a workspace can register a disguised sub-agent app with a custom protocol URL, so the owner's click sends their API key to an attacker-chosen destination.

Affected Software

1 affected component
Coder Coder>=2.24.0<2.29.23, >=2.30.0<2.34.14, >=2.35.0<2.36.9, >=2.37.0<2.37.6, >=2.38.0<2.38.2

Event History

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

Frequently Asked Questions

1

Which deployments are affected?

Affected version ranges are Coder 2.24.0 before 2.29.23, 2.30.0 before 2.34.14, 2.35.0 before 2.36.9, 2.37.0 before 2.37.6, and 2.38.0 before 2.38.2.

2

What does an attacker need to exploit this issue?

The attacker needs code execution in a workspace so it can register a disguised sub-agent external app using a custom-protocol URL. The workspace owner must then click the app link in the web dashboard.

3

What is exposed if exploitation succeeds?

The dashboard can substitute the $SESSION_TOKEN placeholder with the workspace owner's full-access API key and send that key to an attacker-controlled destination. The exposed key can affect confidentiality and integrity.

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