{"api_version":"1","generated_at":"2026-07-08T04:31:39+00:00","cve":"CVE-2026-55431","urls":{"html":"https://cve.report/CVE-2026-55431","api":"https://cve.report/api/cve/CVE-2026-55431.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-55431","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-55431"},"summary":{"title":"Coder's session token leaked to arbitrary hosts via `coder open app` for external workspace apps","description":"Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2, `coder open app` opens external workspace-app URLs without validating the scheme or host. When an external app URL contains the `$SESSION_TOKEN` placeholder the CLI replaces it with the user's real session token before handing the URL to the OS open handler. Practical exploitation requires the victim to run `coder open app` against a workspace whose external app definition the attacker controls. Only a malicious template author can control external app URLs. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 applies a URL-scheme allowlist in the CLI and limits `$SESSION_TOKEN` substitution to trusted destinations like the web frontend. As a workaround, avoid running `coder open app` for untrusted workspaces.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-07-08 01:16:27","updated_at":"2026-07-08 01:16:27"},"problem_types":["CWE-522","CWE-601","CWE-522 CWE-522: Insufficiently Protected Credentials","CWE-601 CWE-601: URL Redirection to Untrusted Site ('Open Redirect')"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"7.7","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","baseScore":7.7,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.7","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/coder/coder/releases/tag/v2.34.2","name":"https://github.com/coder/coder/releases/tag/v2.34.2","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/security/advisories/GHSA-v54h-cp2w-9x4g","name":"https://github.com/coder/coder/security/advisories/GHSA-v54h-cp2w-9x4g","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/releases/tag/v2.29.17","name":"https://github.com/coder/coder/releases/tag/v2.29.17","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/releases/tag/v2.32.7","name":"https://github.com/coder/coder/releases/tag/v2.32.7","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/pull/26146","name":"https://github.com/coder/coder/pull/26146","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/coder/coder/releases/tag/v2.33.8","name":"https://github.com/coder/coder/releases/tag/v2.33.8","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-55431","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55431","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"coder","product":"coder","version":"affected >= 2.34.0, < 2.34.2","platforms":[]},{"source":"CNA","vendor":"coder","product":"coder","version":"affected >= 2.33.0, < 2.33.8","platforms":[]},{"source":"CNA","vendor":"coder","product":"coder","version":"affected >= 2.30.0, < 2.32.7","platforms":[]},{"source":"CNA","vendor":"coder","product":"coder","version":"affected < 2.29.17","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"coder","vendor":"coder","versions":[{"status":"affected","version":">= 2.34.0, < 2.34.2"},{"status":"affected","version":">= 2.33.0, < 2.33.8"},{"status":"affected","version":">= 2.30.0, < 2.32.7"},{"status":"affected","version":"< 2.29.17"}]}],"descriptions":[{"lang":"en","value":"Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2, `coder open app` opens external workspace-app URLs without validating the scheme or host. When an external app URL contains the `$SESSION_TOKEN` placeholder the CLI replaces it with the user's real session token before handing the URL to the OS open handler. Practical exploitation requires the victim to run `coder open app` against a workspace whose external app definition the attacker controls. Only a malicious template author can control external app URLs. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 applies a URL-scheme allowlist in the CLI and limits `$SESSION_TOKEN` substitution to trusted destinations like the web frontend. As a workaround, avoid running `coder open app` for untrusted workspaces."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-522","description":"CWE-522: Insufficiently Protected Credentials","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-601","description":"CWE-601: URL Redirection to Untrusted Site ('Open Redirect')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-08T00:10:49.165Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/coder/coder/security/advisories/GHSA-v54h-cp2w-9x4g","tags":["x_refsource_CONFIRM"],"url":"https://github.com/coder/coder/security/advisories/GHSA-v54h-cp2w-9x4g"},{"name":"https://github.com/coder/coder/pull/26146","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/pull/26146"},{"name":"https://github.com/coder/coder/releases/tag/v2.29.17","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/releases/tag/v2.29.17"},{"name":"https://github.com/coder/coder/releases/tag/v2.32.7","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/releases/tag/v2.32.7"},{"name":"https://github.com/coder/coder/releases/tag/v2.33.8","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/releases/tag/v2.33.8"},{"name":"https://github.com/coder/coder/releases/tag/v2.34.2","tags":["x_refsource_MISC"],"url":"https://github.com/coder/coder/releases/tag/v2.34.2"}],"source":{"advisory":"GHSA-v54h-cp2w-9x4g","discovery":"UNKNOWN"},"title":"Coder's session token leaked to arbitrary hosts via `coder open app` for external workspace apps"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-55431","datePublished":"2026-07-08T00:10:49.165Z","dateReserved":"2026-06-16T21:59:57.017Z","dateUpdated":"2026-07-08T00:10:49.165Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-08 01:16:27","lastModifiedDate":"2026-07-08 01:16:27","problem_types":["CWE-522","CWE-601","CWE-522 CWE-522: Insufficiently Protected Credentials","CWE-601 CWE-601: URL Redirection to Untrusted Site ('Open Redirect')"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","baseScore":7.7,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":1.3,"impactScore":5.8}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"55431","Ordinal":"1","Title":"Coder's session token leaked to arbitrary hosts via `coder open ","CVE":"CVE-2026-55431","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"55431","Ordinal":"1","NoteData":"Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2, `coder open app` opens external workspace-app URLs without validating the scheme or host. When an external app URL contains the `$SESSION_TOKEN` placeholder the CLI replaces it with the user's real session token before handing the URL to the OS open handler. Practical exploitation requires the victim to run `coder open app` against a workspace whose external app definition the attacker controls. Only a malicious template author can control external app URLs. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 applies a URL-scheme allowlist in the CLI and limits `$SESSION_TOKEN` substitution to trusted destinations like the web frontend. As a workaround, avoid running `coder open app` for untrusted workspaces.","Type":"Description","Title":"Coder's session token leaked to arbitrary hosts via `coder open "}]}}}