Skip to content
OpenAdvisories

Description

Improper limitation of a pathname to a restricted directory ('path traversal') in .NET allows an authorized attacker to elevate privileges locally.

Affected products

VendorProductAffectedFixed
Microsoft .NET 10.0 runtime 10.0.0 – < 10.0.402 10.0.402
Microsoft .NET 11.0 runtime 11.0.0 – < 11.0.100-rc.2 11.0.100-rc.2
Microsoft .NET 9.0 runtime 9.0.0 – < 9.0.319, 9.0.122 9.0.319, 9.0.122
Microsoft Microsoft Visual Studio 2022 version 17.14 17.14.0 – < 17.14.42 17.14.42
Microsoft Microsoft Visual Studio 2026 version 18.10 18.10.0 – < 18.10.4 18.10.4

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS dotnet7 No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 dotnet10-runtime 10.0.13-r0 —
Alpine v3.24 dotnet9-runtime 9.0.21-r0 —
Alpine v3.23 dotnet10-runtime 10.0.13-r0 —
Alpine v3.23 dotnet9-runtime 9.0.21-r0 —
Alpine v3.22 dotnet9-runtime 9.0.21-r0 —

Advisories 3

References