GHSA-6q65-j4jw-9cg8: DotVVM Path Traversal Vulnerability

HIGH
CVSS 7.5
CWE-22
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-6q65-j4jw-9cg8
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product DotVVM
Package Ecosystem NuGet
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

DotVVM fixed: 4.3.8
Upgrade DotVVM to 4.3.8
DotVVM fixed: 5.0.0-preview03-final
Upgrade DotVVM to 5.0.0-preview03-final
DotVVM fixed: 4.2.10
Upgrade DotVVM to 4.2.10
Verify Direct and Transitive Dependencies

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

### 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 ```

GHSA-6q65-j4jw-9cg8 Affected DotVVM Versions

3 component(s)
Fixed Versions:
4.3.85.0.0-preview03-final4.2.10
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?
GHSA-6q65-j4jw-9cg8 is a security vulnerability in DotVVM involving DotVVM allows path traversal when deployed in Debug mode under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which DotVVM versions are affected?
Affected versions include releases prior to 4.3.8, 5.0.0-preview03-final, 4.2.10 across affected packages: DotVVM.
What version fixes GHSA-6q65-j4jw-9cg8?
Upgrading to 4.3.8, 5.0.0-preview03-final, 4.2.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is DotVVM affected?
Yes, DotVVM is affected in releases prior to 4.3.8, 5.0.0-preview03-final, 4.2.10. Upgrade your dependency to 4.3.8, 5.0.0-preview03-final, 4.2.10 or later.
What is the CVSS score of GHSA-6q65-j4jw-9cg8?
GHSA-6q65-j4jw-9cg8 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with GHSA-6q65-j4jw-9cg8?
GHSA-6q65-j4jw-9cg8 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (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.).
How can I check NuGet dependencies for GHSA-6q65-j4jw-9cg8?
Run the dependency tree command: 'inspect dependencies for DotVVM'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}