---
id: CVE-2025-66389
title: >-
  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
summary: >-
  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.
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-552
vendor: microsoft
product: github_copilot
affected:
  - github_copilot = 1.372.0
published: '2026-06-22'
updated: '2026-10-05'
sourceUpdated: '2026-10-05T18:10:00.200'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-66389'
references:
  - url: 'https://blindcyber.com/2025/10/28/copilot-fun/'
    label: cve@mitre.org
  - url: 'https://github.com/microsoft/vscode-copilot-chat/'
    label: cve@mitre.org
  - url: >-
      https://github.com/microsoft/vscode/blob/03baef1008086ed4960042fa463e570072173bb5/src/vs/workbench/contrib/chat/electron-browser/tools/fetchPageTool.ts#L152
    label: cve@mitre.org
tags:
  - nvd
epss: 0.01176
epssPercentile: 0.66513
ingestedAt: '2026-10-05T18:29:11.170Z'
---

## Overview

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.

## Affected

- `github_copilot = 1.372.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
