CVE-2026-6662
JSON

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 packageVersionsReported by
ericc-ch copilot-api0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7.0CVE List

All scores

VulDB6.9medium CVSS:4.0CVSS: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
VulDB7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
VulDB7.3high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
VulDB7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR

Classification

CWE-346CWE-942

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

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/358300technical-description, vdb-entry
https://vuldb.com/vuln/358300/ctipermissions-required, signature
https://vuldb.com/submit/794601third-party-advisory
https://github.com/August829/CVEP/issues/31exploit, issue-tracking

Sources

SourceRecordLicence
CVE ListCVE-2026-6662 changed 2026-04-20CVE Terms of Use
NVDCVE-2026-6662 changed 2026-10-26Public domain