CVE-2025-66389
GitHub Copilot Unauthorized Filesystem Access via Fetch Webpage
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.
INFO
Published Date :
June 22, 2026, midnight
Last Modified :
June 22, 2026, 1:38 p.m.
Remotely Exploit :
No
Source :
mitre
Affected Products
The following products are affected by CVE-2025-66389
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Update GitHub Copilot to the latest version.
- Restrict file handler URI parameter usage.
- Implement input validation for fetch_webpage.
- Monitor for suspicious filesystem access.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-66389 vulnerability anywhere in the article.