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.
Published: 2026-06-22
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

GitHub Copilot 1.372.0 contains a flaw that permits the fetch_webpage tool to read files outside the designated workspace using a file-handler URI parameter. This bypasses user approval and could enable an attacker to exfiltrate sensitive files if indirect prompt injection is achieved.

Affected Systems

The vulnerability affects the GitHub Copilot extension, specifically version 1.372.0. The product is distributed by GitHub (Microsoft).

Risk and Exploitability

Although the CVSS score is not provided, the lack of user confirmation required for file access suggests a high impact. The exploit requires that an attacker can influence the Copilot input – for example through an indirect prompt injection scenario. With no EPSS data and no listing in CISA KEV, the current exploitation risk is uncertain but the potential consequences warrant prompt action.

Generated by OpenCVE AI on June 22, 2026 at 14:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade GitHub Copilot to the latest version that addresses file access restrictions
  • If no patch is available, disable or remove the Copilot extension from Visual Studio Code
  • Configure VS Code settings to block or prevent the use of file-handler URIs in the Copilot chat command

Generated by OpenCVE AI on June 22, 2026 at 14:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 22 Jun 2026 14:45:00 +0000

Type Values Removed Values Added
Title Filesystem Exfiltration via Unauthorized File-Handler URI in GitHub Copilot
Weaknesses CWE-200
CWE-284

Mon, 22 Jun 2026 13:45:00 +0000

Type Values Removed Values Added
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.
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-06-22T13:38:54.583Z

Reserved: 2025-11-28T00:00:00.000Z

Link: CVE-2025-66389

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-22T14:30:05Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-284

    Improper Access Control