{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-126308","id":"CVE-2026-126308","title":"Coder API key exposure in external sub-agent app URLs","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 cli","descriptionLong":"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.","published":"2026-11-13T09:36:20.400Z","updated":"2026-11-18T20:45:49.460987728Z","reserved":"2026-11-10T20:16:44.443Z","status":"Awaiting Analysis","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":8.7,"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","rating":"high","source":"VulnCheck"},"metrics":[{"version":"4.0","score":8.7,"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","rating":"high","source":"VulnCheck"},{"version":"4.0","score":8.7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"vulncheck.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"VulnCheck"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"vulncheck.com"}],"rating":"high","products":["coder"],"affectedProducts":[{"vendor":"coder","product":"coder","defaultStatus":"unaffected","versions":[{"version":"2.38.0","status":"affected","versionType":"semver","lessThan":"2.38.2"},{"version":"2.38.2","status":"unaffected","versionType":"semver"}],"platforms":[]},{"vendor":"coder","product":"coder","defaultStatus":"unaffected","versions":[{"version":"2.37.0","status":"affected","versionType":"semver","lessThan":"2.37.6"},{"version":"2.37.6","status":"unaffected","versionType":"semver"}],"platforms":[]},{"vendor":"coder","product":"coder","defaultStatus":"unaffected","versions":[{"version":"2.36.0","status":"affected","versionType":"semver","lessThan":"2.36.9"},{"version":"2.36.9","status":"unaffected","versionType":"semver"}],"platforms":[]},{"vendor":"coder","product":"coder","defaultStatus":"unaffected","versions":[{"version":"2.30.0","status":"affected","versionType":"semver","lessThan":"2.34.14"},{"version":"2.34.14","status":"unaffected","versionType":"semver"}],"platforms":[]},{"vendor":"coder","product":"coder","defaultStatus":"unaffected","versions":[{"version":"2.24.0","status":"affected","versionType":"semver","lessThan":"2.29.23"},{"version":"2.29.23","status":"unaffected","versionType":"semver"}],"platforms":[]},{"vendor":"coder","product":"coder","defaultStatus":"unaffected","versions":[{"version":"2.35.0","status":"affected","versionType":"semver","lessThan":"2.36.0"},{"version":"2.36.0","status":"unaffected","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-201"],"aliases":["GHSA-2x8w-q434-f76p"],"references":[{"url":"https://github.com/coder/coder/security/advisories/GHSA-2x8w-q434-f76p","tags":["vendor-advisory","advisory"]},{"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","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126308.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126308","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00311,"epssPercentile":0.24433,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-126308","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126308","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-126308","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-126308","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}