6.9medium
ericc-ch copilot-api Token Endpoint server.ts cors cross-domain policy
- Severity
- 6.9medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.26% (higher than 11% of CVEs)
- Published
- Last changed
- Assigned by
- VulDB
Description
A vulnerability was found in ericc-ch copilot-api up to 0.7.0. The impacted element is the function cors of the file src/server.ts of the component Token Endpoint. Performing a manipulation results in permissive cross-domain policy with untrusted domains. It is possible to initiate the attack remotely. The exploit has been made public and could be used.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ericc-ch copilot-api | 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7.0 | CVE List |
All scores
| VulDB | 6.9medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| VulDB | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 7.3high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
Classification
What each source says
CVE List
A vulnerability was found in ericc-ch copilot-api up to 0.7.0. The impacted element is the function cors of the file src/server.ts of the component Token Endpoint. Performing a manipulation results in permissive cross-domain policy with untrusted domains. It is possible to initiate the attack remotely. The exploit has been made public and could be used.
NVD (es)
Se encontró una vulnerabilidad en ericc-ch copilot-API hasta 0.7.0. El elemento afectado es la función cors del archivo src/server.ts del componente Token Endpoint. Realizar una manipulación resulta en una política de dominio cruzado permisiva con dominios no confiables. Es posible iniciar el ataque de forma remota. El exploit se ha hecho público y podría ser utilizado.
References
| https://vuldb.com/vuln/358300 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/358300/cti | permissions-required, signature | |
| https://vuldb.com/submit/794601 | third-party-advisory | |
| https://github.com/August829/CVEP/issues/31 | exploit, issue-tracking | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-6662 changed 2026-04-20 | CVE Terms of Use |
| NVD | CVE-2026-6662 changed 2026-10-26 | Public domain |