DNS Rebinding Affecting copilot-api package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-COPILOTAPI-16321518
  • published29 Apr 2026
  • disclosed23 Apr 2026
  • creditYu_Bao

Introduced: 23 Apr 2026

NewCVE-2026-6874  (opens in a new tab)
CWE-350  (opens in a new tab)

How to fix?

There is no fixed version for copilot-api.

Overview

copilot-api is a Turn GitHub Copilot into OpenAI/Anthropic API compatible server. Usable with Claude Code!

Affected versions of this package are vulnerable to DNS Rebinding in ericc-ch copilot-api up to 0.7.0. This impacts an unknown function of the file /token of the component Header Handler. Executing a manipulation of the argument Host can lead to reliance on reverse dns resolution. The attack may be performed from remote. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.

CVSS Base Scores

version 4.0
version 3.1