CVE-2025-46334

GitHub: CVE-2025-46334 Git Malicious Shell Vulnerability

Published
July 8, 2025
Last Modified
—

🔗 CVE IDs covered (1)

📋 Description

CVE-2025-46334 is regarding a vulnerability in Git GUI (Windows only) where a malicious repository can ship versions of sh.exe or typical textconv filter programs such as astextplain. On Windows, path lookup can find such executables in the worktree. These programs are invoked when the user selects "Git Bash" or "Browse Files" from the menu. GitHub created this CVE on their behalf. The documented Visual Studio updates incorporate updates in GitK which address this vulnerability. Please see CVE-2025-46334 for more information.

🎯 Affected products6

  • Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8)
  • Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10)
  • Microsoft Visual Studio 2022 version 17.10
  • Microsoft Visual Studio 2022 version 17.12
  • Microsoft Visual Studio 2022 version 17.14
  • Microsoft Visual Studio 2022 version 17.8

✅ Remediation

KBRelease Notes (Security Update) — fixed build 17.8.23 KBRelease Notes (Security Update) — fixed build 17.10.17 KBRelease Notes (Security Update) — fixed build 17.12.10 KBRelease Notes (Security Update) — fixed build 17.14.8 KBRelease Notes (Security Update) — fixed build 16.11.49 KBRelease Notes (Security Update) — fixed build 15.9.75

🔗 References (10)