Session Token Leak Vulnerability in Coder by Coder Technologies
CVE-2026-126308
8.7HIGH
What is CVE-2026-126308?
A security flaw in Coder's web dashboard allows API keys to be exposed when the application mistakenly substitutes the $SESSION_TOKEN placeholder in external app URLs. This occurs prior to essential checks that ensure the app is actually linked to a sub-agent. Malicious code operating within a workspace can register a disguised sub-agent application using a custom protocol URL, leading to the potential for an attacker to capture the owner's API key upon interaction. Users and organizations are urged to upgrade to the latest version of Coder to mitigate this risk.
Affected Version(s)
coder 2.38.0 < 2.38.2
coder 2.37.0 < 2.37.6
coder 2.36.0 < 2.36.9
