Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    RUSTSEC-2026-0443 (GHSA-8HCM-M7R7-FRWC)

    Vulnerability from osv_rustsec – Published: 2026-11-06 12:00 – Updated: 2026-11-06 14:33 – Source website
    VLAI
    Summary
    Hidden file disclosure through Windows short names
    Details

    On Windows volumes with 8.3 short names, actix_files::Files can serve hidden files through their short-name aliases. The default path check rejects segments that start with a dot, but an alias such as ENV~1 or GIT~1 passes this check.

    A remote client can read files such as .env or .git/config in the served directory even when use_hidden_files() is not enabled. This can expose secrets or source code.

    Upgrade to actix-files 0.7.4 or later. As a workaround, remove sensitive files and directories from the served directory.


    {
      "affected": [
        {
          "database_specific": {
            "categories": [],
            "cvss": null,
            "informational": null
          },
          "ecosystem_specific": {
            "affected_functions": null,
            "affects": {
              "arch": [],
              "functions": [],
              "os": [
                "windows"
              ]
            }
          },
          "package": {
            "ecosystem": "crates.io",
            "name": "actix-files",
            "purl": "pkg:cargo/actix-files"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.0.0-0"
                },
                {
                  "fixed": "0.7.4"
                }
              ],
              "type": "SEMVER"
            }
          ],
          "versions": []
        }
      ],
      "aliases": [
        "GHSA-8hcm-m7r7-frwc"
      ],
      "database_specific": {
        "license": "CC0-1.0"
      },
      "details": "On Windows volumes with 8.3 short names, `actix_files::Files` can serve hidden\nfiles through their short-name aliases. The default path check rejects segments\nthat start with a dot, but an alias such as `ENV~1` or `GIT~1` passes this check.\n\nA remote client can read files such as `.env` or `.git/config` in the served\ndirectory even when `use_hidden_files()` is not enabled. This can expose secrets\nor source code.\n\nUpgrade to actix-files 0.7.4 or later. As a workaround, remove sensitive files\nand directories from the served directory.",
      "id": "RUSTSEC-2026-0443",
      "modified": "2026-11-06T14:33:54Z",
      "published": "2026-11-06T12:00:00Z",
      "references": [
        {
          "type": "PACKAGE",
          "url": "https://crates.io/crates/actix-files"
        },
        {
          "type": "ADVISORY",
          "url": "https://rustsec.org/advisories/RUSTSEC-2026-0443.html"
        },
        {
          "type": "WEB",
          "url": "https://github.com/actix/actix-web/commit/f2c83122d244e4ba38514ee3fe1fd42a110dc3f0"
        }
      ],
      "related": [],
      "severity": [],
      "summary": "Hidden file disclosure through Windows short names"
    }