{"id":"GHSA-wrq8-fcv5-8hvp","revision":"63d5e4bc0eb7499d8c1f42c8132c026d","records":[{"revision":"63d5e4bc0eb7499d8c1f42c8132c026d","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-wrq8-fcv5-8hvp","aliases":["CVE-2026-55428","GO-2026-5915"],"title":"Coder: Route hijacking through lack of validation of agent-supplied AllowedIPs in tailnet coordinator","description":"### Summary\n\nThe tailnet coordinator validates that an agent's `Addresses` derive from its authenticated UUID but applies no equivalent check to `AllowedIPs`. The coordinator forwards agent-supplied `AllowedIPs` verbatim to tunnel peers which install them into the WireGuard peer configuration.\n\n### Impact\n\nA malicious workspace agent can advertise arbitrary `AllowedIPs` prefixes including another agent's tailnet address. Coder's `ServerTailnet` routes to agents by tailnet IP so an agent that claims a victim's prefix can intercept web terminal and workspace app traffic and serve spoofed content. Exploitation requires an authenticated user with a running workspace and a modified agent binary.\n\n### Patches\n\nThe fix validates each `AllowedIPs` prefix against the authenticating agent's UUID just like `Addresses`.\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\nOperators who cannot upgrade immediately should monitor coordinator logs for agents advertising unexpected `AllowedIPs` prefixes.\n\n### Resources\n\n- Fix: #26144\n\n### Credits\n\nCoder would like to thank Anthropic's Security Team (ANT-2026-22451) for independently disclosing this issue!","state":0,"publishedAt":"2026-07-06T20:58:30+00:00","modifiedAt":"2026-07-07T16:11:26.9241463+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:N/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-wrq8-fcv5-8hvp","https://github.com/coder/coder/pull/26144","https://github.com/coder/coder"],"sourceUrl":"https://github.com/advisories/GHSA-wrq8-fcv5-8hvp","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-wrq8-fcv5-8hvp","identifiers":["GHSA-wrq8-fcv5-8hvp","CVE-2026-55428","GO-2026-5915"]},"retained":false,"historicalAffected":[]}],"coverage":[]}