NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · NuGet

GHSA-6q65-j4jw-9cg8: DotVVM allows path traversal when deployed in Debug mode

highCVSS 3.1 7.5

Description There is a path traversal vulnerability in any DotVVM application started in Debug mode, if at least one resource with the FileResourceLocation has been added. The vulnerability allows an attacker to read arbitrary files from the filesystem accessible by the web application (i.e. appsettings.json or other files containing secrets).

Published Jun 19, 2025

Affected packages

DotVVM

Ecosystem
NuGet
Affected
>= 4.3.0-preview01-final, <= 4.3.7
Fixed in
4.3.8
Check
dotnet list package --include-transitive

DotVVM

Ecosystem
NuGet
Affected
>= 5.0.0-preview01-final, < 5.0.0-preview03-final
Fixed in
5.0.0-preview03-final
Check
dotnet list package --include-transitive

DotVVM

Ecosystem
NuGet
Affected
< 4.2.10
Fixed in
4.2.10
Check
dotnet list package --include-transitive

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Description

There is a path traversal vulnerability in any DotVVM application started in Debug mode, if at least one resource with the FileResourceLocation has been added. The vulnerability allows an attacker to read arbitrary files from the filesystem accessible by the web application (i.e. appsettings.json or other files containing secrets).

Patches

The bug is patched in versions 4.2.10, 4.3.8 and 5.0.0-preview03-final (and newer).

Apart from updating DotVVM, it is also recommend invalidating any secrets which could have been leaked by an application deployed in Debug mode (such as database passwords).

Workarounds

If you cannot update to a patched version, avoid running a publicly accessible DotVVM application in Debug mode (Development environment in Asp.Net Core). It is recommend adding the following statement to the DotvvmStartup class:

    config.Debug = false; // TODO: workaround for GHSA-6q65-j4jw-9cg8, remove after updating DotVVM

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More NuGet vulnerabilities

All NuGet entries