跳到正文
原文
Johann Rehberger· @wunderwuzzi23 · X·本站收录· 原文发表· 事件 →

尾部点号绕过 Visual Studio Copilot 受保护文件检查实现代码执行(CVE-2026-103572)

AI 导读

Johann Rehberger 的最新文章展示,文件名末尾多一个点即可绕过 Visual Studio 与 SSMS 中 Copilot 的受保护文件检查,漏洞编号 CVE-2026-103572。这利用了 NTFS 与 Win32 对尾部点号处理的差异,Windows 会把 settings.json. 视同 settings.json,Copilot 因此可改写自身配置,把 MCP 服务器或 ripgrepPath 指向攻击者二进制,进而实现代码执行。微软已通过路径规范化修复,完整分析见 https://embracethered.com/blog/posts/2026/visual-studio-copilot-remote-code-execution/

正文 · 原文

Scary dots in NTFS vs Win32 😱

引用Harley Kimball@infinitelogins
In his latest write-up, Johann Rehberger (@wunderwuzzi23) shows how one trailing dot bypassed Copilot's protected-file checks in Visual Studio and SSMS (CVE-2026-103572). Windows treats `settings.json.` as `settings.json`, so Copilot could rewrite its own config, point an MCP server or ripgrepPath at an attacker binary, and get code execution. Microsoft fixed it with path normalization. Full write-up 👇 https://embracethered.com/blog/posts/2026/visual-studio-copilot-remote-code-execution/ #BugBounty
在 X 查看被引用的帖子

来源:Johann Rehberger · x.com