CVE-2026-126308
Received Received - Intake

Cross-Site Request Forgery in Coder Workspace Dashboard

Vulnerability report for CVE-2026-126308, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-13

Last updated on: 2026-11-13

Assigner: VulnCheck

Description

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 $SESSION_TOKEN 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-13
Last Modified
2026-11-13
Generated
2026-11-13
AI Q&A
2026-11-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 5 associated CPEs
Vendor Product Version / Range
coder web_dashboard to 2.29.23 (exc)
coder web_dashboard to 2.34.14 (exc)
coder web_dashboard to 2.36.9 (exc)
coder web_dashboard to 2.37.6 (exc)
coder web_dashboard to 2.38.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-201 The code transmits data to another actor, but a portion of the data includes sensitive information that should not be accessible to that actor.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-126308 is a session token leak in Coder's web dashboard affecting versions 2.24.0 to 2.38.1. The dashboard replaces $SESSION_TOKEN in external app URLs with a full-access API key without verifying if the app belongs to a sub-agent. Attackers can register a malicious sub-agent app with a custom URL, causing the victim's API key to be sent to an attacker-controlled destination when clicked.

Detection Guidance

To detect this vulnerability, check if your Coder instance is running a vulnerable version (2.24.0 to 2.38.1). Review external app configurations in the web dashboard for suspicious URLs containing $SESSION_TOKEN. Inspect network traffic for unexpected API key transmissions to untrusted destinations.

Impact Analysis

If exploited, an attacker could obtain a full-access API key for the victim's workspace, allowing them to act as the user for the key's lifetime. This could lead to unauthorized access, data theft, or further compromise of the system. Exploitation requires running code as a sub-agent and the victim clicking a malicious app link.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating confidentiality requirements in GDPR and HIPAA. A successful exploit may result in data breaches, triggering mandatory breach notification and potential fines under these regulations.

Mitigation Strategies

Immediately upgrade Coder to a patched version (2.38.2 or later, or specific earlier versions like 2.37.6, 2.36.9, 2.34.14, or 2.29.23). Avoid clicking external apps from untrusted sub-agents until upgraded. Review and remove any suspicious external apps registered in your workspace.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-126308. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...