cvelo
P2 · HighCVSS 7.7

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

  • CVE-2026-126308
  • GHSA-h95g-897g-9949
  • EUVD-2026-125212

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.

Text from the CVE.org record.

Affected

  • coder

    • from 2.38.0 to before 2.38.2
    • 2.38.2: not affected
    • from 2.37.0 to before 2.37.6
    • 2.37.6: not affected
    • from 2.36.0 to before 2.36.9
    • 2.36.9: not affected
    • from 2.30.0 to before 2.34.14
    • 2.34.14: not affected
    • and 4 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.