| Title | ericc-ch copilot-api 0.7.0 DNS Rebinding Attack |
|---|
| Description | The copilot-api HTTP server does not perform any validation on the Host header of incoming requests, allowing remote attackers to launch DNS rebinding attacks. An attacker can host a malicious web page that, after the initial DNS lookup, resolves to the victim’s localhost:4141, thereby bypassing the browser’s same-origin policy. Once the rebinding is successful, the attacker’s JavaScript can read responses from all copilot-api endpoints—including the /token endpoint, which returns the Copilot Bearer token in plaintext—and exfiltrate this information to a server controlled by the attacker. |
|---|
| Source | ⚠️ https://github.com/August829/CVEP/issues/32 |
|---|
| User | Yu_Bao (UID 89348) |
|---|
| Submission | 04/02/2026 04:58 (21 days ago) |
|---|
| Moderation | 04/22/2026 20:21 (21 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 359039 [ericc-ch copilot-api up to 0.7.0 Header /token Host dns rebinding] |
|---|
| Points | 20 |
|---|