threatdeck
Live 13:45 UTC ·

All AI tools

GitHub Copilot

GitHub / Microsoft · Assistant · homepage

—latest version
—minimum safe version
7advisories for GitHub Copilot

No minimum safe version: none of GitHub Copilot's medium-or-higher advisories states a fixed version we can compare. Only advisories for GitHub Copilot itself are counted. 7 medium-or-higher advisories list no fixed version: check the vendor's guidance before relying on the minimum.

Advisories

IDTitleSeverityFixed inPublished
CVE-2026-83953 Improper neutralization of special elements used in a command ('command injection') in Github Copilot allows an authorized attacker to discl… Medium — 2026-11-10
CVE-2026-81381 Insufficiently protected credentials in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to disclose information over a… Medium — 2026-09-08
CVE-2026-81380 Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio Code allows an unaut… Medium — 2026-09-08
CVE-2026-70335 Improper neutralization of special elements used in an os command ('os command injection') in GitHub Copilot and Visual Studio Code allows a… High — 2026-08-11
CVE-2026-65675 No cwe for this issue in Visual Studio Code CoPilot Chat Extension allows an unauthorized attacker to bypass a security feature over a netwo… High — 2026-08-11
CVE-2026-50510 Improper restriction of names for files and other resources in Github Copilot allows an unauthorized attacker to execute code locally. High — 2026-07-14
CVE-2026-47282 Insufficiently protected credentials in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to disclose information over a… Medium — 2026-07-14

Hardening checklist

  • Keep auto-update enabled and verify the installed version against the minimum safe version.
  • Do not open untrusted repositories with agent mode or auto-approve enabled.
  • Restrict MCP servers to an allowlist; review each server's permissions and publisher.
  • Never place secrets in project files the agent can read; use a secrets manager or env injection.
  • Apply monthly VS Code / Visual Studio updates; review Copilot coding agent firewall settings.

Data exposure

What GitHub Copilot keeps on a developer machine, what it sends, and the settings that reduce exposure. Local transcripts can contain anything pasted into a session, including secrets: include these paths in secret scanning and offboarding.

Stored locally

WhatWhere
Copilot CLI and GitHub Copilot app session history: an events.jsonl event log per session plus plans, checkpoints and tracked files.~/.copilot/session-state/ (relocate with COPILOT_HOME)
SQLite session store used for cross-session search.~/.copilot/session-store.db
Per-session CLI log files and command history.~/.copilot/logs/, ~/.copilot/command-history-state/
BYOK provider API keys, bearer tokens and header values, stored as plain text.~/.copilot/providers.json
MCP OAuth tokens and MCP secrets, written to files only when keychain storage is unavailable.~/.copilot/mcp-oauth-config/, ~/.copilot/mcp-secrets/
IDE chat sessions: storage is IDE-specific and documented by each IDE.Varies by IDE

Sent to the vendor

Inline suggestions send code around the cursor plus snippets from open editor tabs as the prompt. Copilot CLI and app sessions sync to your GitHub account by default where policy allows. With content exclusion configured, the client sends the repository URL to fetch the policy.

Retention and training

GitHub does not train on Copilot Business or Enterprise data. Since April 24, 2026, Free, Pro, Pro+ and Max interactions may be used for training unless the user opts out. Per-surface retention periods are published in the Copilot Trust Center.

Settings that reduce exposure

"Allow GitHub to use my data for AI model training" → Disabled
Opts individual plans out of model training (not shown for Business/Enterprise).
remoteExport: false or --sync-session=off
Keeps Copilot CLI session history local instead of syncing it to your GitHub account.
storeTokenPlaintext (default false)
Leave off so auth tokens are not written in plain text to config.json when no keychain is available.
sandbox.auth.git / sandbox.auth.gh = false
Stops injecting Git and GitHub CLI credentials into the CLI sandbox.
/session delete commands
Delete local sessions; the CLI asks whether to delete the synced copy too.

For administrators

  • Content exclusion (repository admins, organization and enterprise owners) hides files from suggestions, chat and agents; GitHub states it is not a filesystem security boundary.
  • "Store local sessions in the Cloud" policy: if disabled or unconfigured for Business/Enterprise, CLI sessions stay local only.
  • Copilot CLI MDM managed settings: allowedMcpServers / deniedMcpServers, forceLoginOrgs, managed permissions, a sandbox floor and telemetry export settings.
  • Organization policy controls Copilot cloud agent and the public-code matching setting for assigned seats.

Sources: GitHub Docs: Copilot CLI configuration directory · GitHub Docs: About GitHub Copilot session data · GitHub Docs: Managing Copilot policies as an individual subscriber · GitHub Docs: Content exclusion for GitHub Copilot · GitHub Docs: Application card — Copilot inline suggestions · GitHub Copilot Trust Center FAQ · reviewed 2026-11-09

Rolling these tools out? See the playbook Secure AI coding tools in your organisation.

Lock it down: AI hardening kit (managed settings and MCP allowlist generators, free, in your browser).

Check your version

Via the public API:

curl -s "https://threatdeck.net/api/v1/tools/github-copilot/check?version=<your-version>"

Or ask your agent through the ThreatDeck MCP server (https://threatdeck.net/mcp):

check_ai_tool_version { "slug": "github-copilot", "version": "<your-version>" }

Updated 2026-11-22

Following

Follow the vendors, products, AI tools, techniques and actors you care about. Matching stories, CVEs and exploited bugs are marked, a Following tab appears in the feed, and returning visits show what changed. Saved only in this browser.

Presets

Get updates

A personal RSS feed of new stories on everything you follow. Paste it into any feed reader, Slack or Teams RSS app.