Cross-Domain Policy Vulnerability in ericc-ch copilot-api by ericc-ch
CVE-2026-6662

6.9MEDIUM

Key Information:

Vendor

Ericc-ch

Vendor
CVE Published:
20 April 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2026-6662?

A vulnerability in the ericc-ch copilot-api prior to version 0.7.0 affects the CORS function in the Token Endpoint, found in the src/server.ts file. This flaw allows for a permissive cross-domain policy that can be exploited by untrusted domains, enabling remote attacks. Attackers can manipulate the CORS settings, potentially leading to token theft and unauthorized access to sensitive information. This exploit is publicly known and poses significant risks if not addressed.

Affected Version(s)

copilot-api 0.1

copilot-api 0.2

copilot-api 0.3

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
6.9
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Yu_Bao (VulDB User)
.