{"id":"CVE-2026-118687","summary":"Coder before 2.29.21, 2.34.12, 2.35.9, 2.36.7, and 2.37.4 Missing Audience Validation in GCP Instance-Identity Authentication","details":"Coder before 2.29.21, 2.30.0 before 2.34.12, 2.35.0 before 2.35.9, 2.36.0 before 2.36.7, and 2.37.0 before 2.37.4 does not validate the audience claim of GCE instance-identity JWTs at the POST /api/v2/workspaceagents/google-instance-identity endpoint. Attackers who obtain an unexpired format=full identity token minted for another relying party can replay it to obtain that workspace agent's session token, which remains valid until the workspace's next build.","aliases":["GHSA-24vh-q7rg-243w"],"modified":"2026-10-31T02:30:56.612222689Z","published":"2026-10-28T18:59:56.265Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-441"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118687.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118687.json"},{"type":"ADVISORY","url":"https://github.com/coder/coder/security/advisories/GHSA-24vh-q7rg-243w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118687"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/coder-before-2.29.21-2.34.12-2.35.9-2.36.7-and-2.37.4-missing-audience-validation-in-gcp-instance-identity-authentication"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/coder/coder","events":[{"introduced":"8a148a9a57eef8dc19db13d1423adcdaadd319d4"},{"fixed":"1d246291a8a6ae1948b8c825ee252f6a46bfd561"},{"introduced":"a300a06a0da0dced695ef8df8404c7c4dffd337e"},{"fixed":"5aec9d328b31ebea88737da049f76afcec157e50"},{"introduced":"a82f2350165c701ce3cbb6260f849e26f4264f79"},{"fixed":"1daeda8362bd4a27bcf85d87fc84b038dee72a0c"},{"introduced":"43e67d12e278e13399cffc77f132e8e628339477"},{"fixed":"d457119e4c80de32bd697354b9f2b01fc8d2f311"},{"introduced":"0"},{"fixed":"44ced69404022ec9936c314360136caaf4952e67"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"2.37.0"},{"fixed":"2.37.4"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"2.36.0"},{"fixed":"2.36.7"}]},{"strategy":"StandardRange","range":[{"introduced":"2.35.0"},{"fixed":"2.35.9"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"2.30.0"},{"fixed":"2.34.12"}]},{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"2.29.21"}]}]}}],"versions":["v2.29.20","v2.37.3","v2.37.2","v2.34.11","v2.35.8","v2.36.6","v2.37.1","v2.36.5","v2.34.10","v2.37.0","v2.34.9","v2.36.4","v2.35.7","v2.36.3","v2.35.6","v2.36.2","v2.35.5","v2.36.1","v2.34.8","v2.36.0","v2.35.4","v2.29.19","v2.34.7","v2.35.3","v2.35.2","v2.34.6","v2.35.1","v2.35.0","v2.34.5","v2.34.4","v2.29.18","v2.34.3","v2.34.2","v2.29.17","v2.29.16","v2.34.1","v2.34.0","v2.29.15","v2.29.14","v2.29.13","v2.29.12","v2.29.11","v2.34.0-rc.0","v2.29.10","v2.33.0-rc.3","v2.33.0-rc.2","v2.33.0-rc.0","v2.33.0-rc.1","v2.29.9","v2.29.8","v2.32.0-rc.0","v2.29.7","v2.29.6","v2.29.5","v2.29.4","v2.29.3","v2.29.2","v2.29.1","v2.29.0","v2.10.0","v2.9.0","v2.6.0","v2.8.0","v2.7.1","v2.7.0","v2.5.1","v2.5.0","v2.4.0","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.2.1","v2.1.5","v2.1.4","v2.1.3","v2.1.2","v2.1.1","v2.0.2","v0.27.1","v0.27.0","v0.26.2","v0.26.1","v0.26.0","v0.25.0","v0.24.1","v0.24.0","v0.23.7","v0.23.6","v0.23.5","v0.23.4","v0.23.3","v0.23.2","v0.23.1","v0.23.0","v0.22.2","v0.22.1","v0.22.0","v0.21.3","v0.21.2","v0.21.1","v0.21.0","v0.20.1","v0.20.0","v0.19.2","v0.19.1","v0.19.0","v0.18.1","v0.18.0","v0.17.4","v0.17.3","v0.17.2","v0.17.1","v0.17.0","v0.16.0","v0.15.3","v0.15.2","v0.15.1","v0.15.0","v0.14.3","v0.14.2","v0.14.1","v0.14.0","v0.13.6","v0.13.5","v0.13.4","v0.13.3","v0.13.2","v0.13.1","v0.13.0","v0.12.9","v0.12.8","v0.12.7","v0.12.6","v0.12.5","v0.12.4","v0.12.3","v0.12.2","v0.12.1","v0.12.0","v0.11.0","v0.10.2","v0.10.1","v0.10.0","rm","v0.9.10","v0.9.9","v0.9.8","v0.9.7","v0.9.6","v0.9.5","v0.9.4","v0.9.3","v0.9.2","v0.9.1","v0.9.0","v0.8.15","v0.8.14","v0.8.13","v0.8.12","v0.8.11","v0.8.10","v0.8.9","v0.8.8","v0.8.7","v0.8.6","v0.8.5","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.12","v0.7.11","v0.7.10","v0.7.9","v0.7.8","v0.7.7","v0.7.6","v0.7.5","v0.7.4","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.6","v0.6.5","v0.6.4","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.11","v0.5.10","v0.5.9","v0.5.8","v0.5.7","v0.5.6","v0.5.5","v0.5.4","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118687.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"}]}