Home

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.

PUBLISHED Reserved 2026-04-20 | Published 2026-04-20 | Updated 2026-04-20 | Assigner VulDB




MEDIUM: 6.9CVSS: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
HIGH: 7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
HIGH: 7.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
7.5AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR

Problem types

Permissive Cross-domain Policy with Untrusted Domains

Origin Validation Error

Product status

0.1
affected

0.2
affected

0.3
affected

0.4
affected

0.5
affected

0.6
affected

0.7.0
affected

Timeline

2026-04-20:Advisory disclosed
2026-04-20:VulDB entry created
2026-04-20:VulDB entry last update

Credits

Yu_Bao (VulDB User) reporter

References

vuldb.com/vuln/358300 (VDB-358300 | ericc-ch copilot-api Token Endpoint server.ts cors cross-domain policy) vdb-entry technical-description

vuldb.com/vuln/358300/cti (VDB-358300 | CTI Indicators (IOB, IOC, IOA)) signature permissions-required

vuldb.com/submit/794601 (Submit #794601 | ericc-ch copilot-api 0.7.0 Cross-Origin Token Theft via Wildcard CORS & Open Token Endpoint) third-party-advisory

github.com/August829/CVEP/issues/31 exploit issue-tracking

cve.org (CVE-2026-6662)

nvd.nist.gov (CVE-2026-6662)

Download JSON