CVE-2025-66389
HighCVSS 7.5Exploitation Probability (EPSS)
Elevated risk54th percentile - higher than 54% of all known CVEs
Summary
A vulnerability in GitHub Copilot 1.372.0 allows filesystem access outside the workspace folder without user approval via a file-handler URI parameter in fetch_webpage. This could lead to data exfiltration if combined with indirect prompt injection.
Risk Assessment
The risk involves unauthorized file reads beyond the workspace, which, when paired with prompt injection attacks, could result in theft of sensitive organizational data.
Recommendation
Immediately update GitHub Copilot to a version newer than 1.372.0 and implement URI validation mechanisms in the fetch_webpage function.
Other vulnerabilities in GitHub Copilot
See all- CVE-2026-70335High
An OS command injection vulnerability in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to elevate privileges locally.
- CVE-2026-50510High
Improper restriction of names for files and other resources in GitHub Copilot allows an unauthorized attacker to execute code locally.
- CVE-2026-47282Medium
Insufficiently protected credentials in GitHub Copilot and Visual Studio Code allow an unauthorized attacker to disclose information over a network.
- CVE-2026-50519Medium
The vulnerability in GitHub Copilot and Visual Studio Code is caused by initializing a resource with an insecure default, allowing an unauthorized attacker to disclose information over a network.
- CVE-2026-45482High
A path traversal vulnerability in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.
- CVE-2026-41109High
An injection vulnerability in GitHub Copilot and Visual Studio allows an unauthorized attacker to bypass a security feature over the network due to improper neutralization of special elements in output used by a downstream component.
Original NVD description (English source)
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.

