CVE-2025-66389 Path traversal in n/a
Attacker can read files outside the workspace via prompt injection, risking data exfiltration for developers using GitHub Copilot.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-66389?
CVE-2025-66389 is a high-severity path traversal vulnerability in n/a, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
GitHub Copilot 1.372.0 allows filesystem access outside of a workspace folder (without user approval) via a file-handler URI parameter to fetch_webpage. Therefore, exfiltration could occur if there is indirect prompt injection.
Weakness: CWE-552
Which versions are affected by CVE-2025-66389?
It affects 1 product.
Products include Microsoft Github Copilot.
How do I fix CVE-2025-66389?
No fix has been published for CVE-2025-66389 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-66389 being exploited?
There is no known exploitation of CVE-2025-66389 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-7vc2-x95v-g6m9.