Skip to content

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

HighCVSS 8.7 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
coder >= 2.24.0, < 2.29.23; >= 2.30.0, < 2.34.14; >= 2.35.0, < 2.36.0; >= 2.36.0, < 2.36.9 +2 more 2.29.23, 2.34.14, 2.36.0, 2.36.9, 2.37.6, 2.38.2 Fixed

Affected products

ProductAffected versionsFixed in
coder >= 2.38.0, < 2.38.2 2.38.2
coder >= 2.37.0, < 2.37.6 2.37.6
coder >= 2.36.0, < 2.36.9 2.36.9
coder >= 2.30.0, < 2.34.14 2.34.14
coder >= 2.24.0, < 2.29.23 2.29.23
coder >= 2.35.0, < 2.36.0 2.36.0

References