GHSA-6q65-j4jw-9cg8: DotVVM Path Traversal Vulnerability
HIGHGHSA-6q65-j4jw-9cg8 is a HIGH (CVSS 7.5) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting DotVVM libraries in the NuGet ecosystem. The issue involves dotvvm allows path traversal when deployed in debug mode. Remediation is available by upgrading affected packages to version 4.3.8, 5.0.0-preview03-final, 4.2.10.
GHSA-6q65-j4jw-9cg8 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix GHSA-6q65-j4jw-9cg8
To remediate this vulnerability, upgrade all affected DotVVM dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade DotVVM to 4.3.8
Upgrade DotVVM to 5.0.0-preview03-final
Upgrade DotVVM to 4.2.10
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for DotVVM
How to Check if You Are Affected
To determine whether your application is affected by GHSA-6q65-j4jw-9cg8, inspect your project dependencies for DotVVM:
inspect dependencies for DotVVM
Analyze the terminal output to locate any version of DotVVM in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.3.8), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In DotVVM, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-6q65-j4jw-9cg8 Affected DotVVM Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
DotVVM
|
NuGet |
≥ 4.3.0-preview01-final
< 4.3.8
|
4.3.8
|
|
DotVVM
|
NuGet |
≥ 5.0.0-preview01-final
< 5.0.0-preview03-final
|
5.0.0-preview03-final
|
|
DotVVM
|
NuGet |
< 4.2.10
|
4.2.10
|
References
Frequently Asked Questions
What is GHSA-6q65-j4jw-9cg8?
Which DotVVM versions are affected?
What version fixes GHSA-6q65-j4jw-9cg8?
Is DotVVM affected?
What is the CVSS score of GHSA-6q65-j4jw-9cg8?
What CWE is associated with GHSA-6q65-j4jw-9cg8?
How can I check NuGet dependencies for GHSA-6q65-j4jw-9cg8?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6q65-j4jw-9cg8",
"modified" : "2025-06-19T14:40:30Z",
"published" : "2025-06-19T14:40:30Z",
"aliases" : [ ],
"summary" : "DotVVM allows path traversal when deployed in Debug mode",
"details" : "### Description\n\nThere 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).\n\n### Patches\n\nThe bug is patched in versions **4.2.10**, **4.3.8** and **5.0.0-preview03-final** (and newer).\n\nApart 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).\n\n### Workarounds\n\nIf 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:\n\n```\n config.Debug = false; // TODO: workaround for GHSA-6q65-j4jw-9cg8, remove after updating DotVVM\n```",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "DotVVM"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.3.0-preview01-final"
}, {
"fixed" : "4.3.8"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.3.7"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "DotVVM"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0-preview01-final"
}, {
"fixed" : "5.0.0-preview03-final"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "DotVVM"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.2.10"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/riganti/dotvvm/security/advisories/GHSA-6q65-j4jw-9cg8"
}, {
"type" : "WEB",
"url" : "https://github.com/riganti/dotvvm/commit/68db0110beeda4e8e4be1b7c4e480ef876895bb5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/riganti/dotvvm"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-19T14:40:30Z",
"nvd_published_at" : null
}
}