External Control of File Name or Path in Microsoft products - CVE-2025-26646
Published: May 13, 2025
Vulnerability identifier: #VU109148
CSH Severity: Medium
CVSS v4: 8.5 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-26646
CWE-ID: CWE-73
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to compromise th target system.
The vulnerability exists due to external control of file name or path in .NET, Visual Studio and Build Tools for Visual Studio. A remote user can perform spoofing attack on the system.
Affected software
Build Tools for Visual Studio
.NET
.NET for macOS
.NET for Linux
Visual Studio
Red Hat Enterprise Linux for IBM z Systems
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
dotnet8.0 (Red Hat package)
dotnet9.0 (Red Hat package)
.NET
.NET for macOS
.NET for Linux
Visual Studio
Red Hat Enterprise Linux for IBM z Systems
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
dotnet8.0 (Red Hat package)
dotnet9.0 (Red Hat package)
How to mitigate CVE-2025-26646
Install updates from vendor's website.
.NET - addressed in versions 8.0.16, 9.0.5
.NET for macOS - addressed in versions 8.0.16 8.0.16, 9.0.5 9.0.5
.NET for Linux - addressed in versions 8.0.16 8.0.16, 9.0.5 9.0.5
Visual Studio - addressed in versions 17.8.21 17.8.21, 17.10.14 17.10.14, 17.12.8 17.12.8, 17.13.7 17.13.7
dotnet8.0 (Red Hat package) - addressed in versions 8.0.116-1.el8_10, 8.0.116-1.el9_6, 8.0.116-1.el10_0
dotnet9.0 (Red Hat package) - addressed in versions 9.0.106-1.el8_10, 9.0.106-1.el10_0
.NET for macOS - addressed in versions 8.0.16 8.0.16, 9.0.5 9.0.5
.NET for Linux - addressed in versions 8.0.16 8.0.16, 9.0.5 9.0.5
Visual Studio - addressed in versions 17.8.21 17.8.21, 17.10.14 17.10.14, 17.12.8 17.12.8, 17.13.7 17.13.7
dotnet8.0 (Red Hat package) - addressed in versions 8.0.116-1.el8_10, 8.0.116-1.el9_6, 8.0.116-1.el10_0
dotnet9.0 (Red Hat package) - addressed in versions 9.0.106-1.el8_10, 9.0.106-1.el10_0
External References
Related Security Bulletins
- External Control of File Name or Path in Microsoft .NET, Visual Studio and Build Tools for Visual Studio
- Red Hat Enterprise Linux 8 update for .NET 9.0
- Red Hat Enterprise Linux 8 update for .NET 8.0
- Red Hat Enterprise Linux 9 update for .NET 8.0
- Red Hat Enterprise Linux 10 update for .NET 8.0
- Red Hat Enterprise Linux 10 update for .NET 9.0