{"id":"CVE-2026-126308","aliases":["CVE-2026-126308"],"related":[],"kind":"vulnerability","state":"published","title":"Coder 2.38.0 before 2.38.2 Session Token Leak via Sub-Agent External Apps","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-13T09:36:20.400Z","modified":"2026-11-18T17:17:34.050Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","score":7.7,"rating":"HIGH"}],"cwes":["CWE-201"],"affected":[{"ranges":[{"type":"semver","introduced":"2.38.0","fixed":"2.38.2","status":"affected"},{"type":"semver","version":"2.38.2","status":"unaffected"}],"vendor":"coder","product":"coder","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.37.0","fixed":"2.37.6","status":"affected"},{"type":"semver","version":"2.37.6","status":"unaffected"}],"vendor":"coder","product":"coder","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.36.0","fixed":"2.36.9","status":"affected"},{"type":"semver","version":"2.36.9","status":"unaffected"}],"vendor":"coder","product":"coder","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.30.0","fixed":"2.34.14","status":"affected"},{"type":"semver","version":"2.34.14","status":"unaffected"}],"vendor":"coder","product":"coder","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.24.0","fixed":"2.29.23","status":"affected"},{"type":"semver","version":"2.29.23","status":"unaffected"}],"vendor":"coder","product":"coder","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.35.0","fixed":"2.36.0","status":"affected"},{"type":"semver","version":"2.36.0","status":"unaffected"}],"vendor":"coder","product":"coder","source":"cvelist"}],"references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-2x8w-q434-f76p","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/coder-2.38.0-before-2.38.2-session-token-leak-via-sub-agent-external-apps","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["manus-pi","EhabY"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-18T16:20:15.736Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-126308","url":"https://www.cve.org/CVERecord?id=CVE-2026-126308","licence":"CVE Terms of Use","modified":"2026-11-18T16:20:24.189Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-126308","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126308","licence":"Public domain","modified":"2026-11-18T17:17:34.050Z"}],"updatedAt":"2026-11-25T22:59:50.636Z","epss":{"score":0.00333,"percentile":0.28538,"date":"2026-12-01T12:00:22.000Z"}}