| Title | ericc-ch copilot-api 0.7.0 Cross-Origin Token Theft via Wildcard CORS & Open Token Endpoint |
|---|
| Description | This is a chained vulnerability combining three weaknesses into a single, remotely exploitable attack requiring only that the victim visits a malicious web page. The wildcard CORS policy (Access-Control-Allow-Origin: *) combined with the unauthenticated /token endpoint and lack of authentication on all routes enables zero-click remote credential theft. Any website visited by a user running copilot-api can steal the Copilot bearer token, exfiltrate usage data, and abuse the API through cross-origin JavaScript requests. |
|---|
| Source | ⚠️ https://github.com/August829/CVEP/issues/31 |
|---|
| User | Yu_Bao (UID 89348) |
|---|
| Submission | 04/01/2026 12:06 (20 days ago) |
|---|
| Moderation | 04/20/2026 14:01 (19 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 358300 [ericc-ch copilot-api up to 0.7.0 Token Endpoint src/server.ts cors cross-domain policy] |
|---|
| Points | 20 |
|---|