Submit #794601: ericc-ch copilot-api 0.7.0 Cross-Origin Token Theft via Wildcard CORS & Open Token Endpointinfo

Titleericc-ch copilot-api 0.7.0 Cross-Origin Token Theft via Wildcard CORS & Open Token Endpoint
DescriptionThis 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)
Submission04/01/2026 12:06 (3 months ago)
Moderation04/20/2026 14:01 (19 days later)
StatusAccepted
VulDB entry358300 [ericc-ch copilot-api up to 0.7.0 Token Endpoint src/server.ts cors cross-domain policy]
Points20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!