Skip to content
Heist/ feed
Back to feed
Medium

rust-actix-files — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-72814

The actix-files crate (actix_files) before version 0.6.10 contains an information exposure vulnerability. When a non-existing folder is passed as the serve_from argument to Files::new(), the mount path defaults to an empty path; the service then joins the request path with this empty path and canonicalizes it, causing Rust to resolve it as a relative path. As a result, an attacker can request paths that resolve relative to the application's working directory and access unintended files.

Products
rust-actix-files
Affected versions
0.6.10-1
Fixed versions
Not specified
CVEs
CVE-2026-72814
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:52 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-72814

core-osv · Original source

Published 14 Aug 2026, 12:16 UTC

The actix-files crate (actix_files) before version 0.6.10 contains an information exposure vulnerability. When a non-existing folder is passed as the serve_from argument to Files::new(), the mount path defaults to an empty path; the service then joins the request path with this empty path and canonicalizes it, causing Rust to resolve it as a relative path. As a result, an attacker can request paths that resolve relative to the application's working directory and access unintended files.

osv:UBUNTU-CVE-2026-72814

rust-actix-files

Fixed versions: Not specified

Complete source record
{
  "id": "af4381707ed30f7e3f6ada0ab8468c578809db5385d406435fc11e6103bbdc35",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-72814",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-72814",
    "summary": "The actix-files crate (actix_files) before version 0.6.10 contains an information exposure vulnerability. When a non-existing folder is passed as the serve_from argument to Files::new(), the mount path defaults to an empty path; the service then joins the request path with this empty path and canonicalizes it, causing Rust to resolve it as a relative path. As a result, an attacker can request paths that resolve relative to the application's working directory and access unintended files.",
    "evidence": "osv:UBUNTU-CVE-2026-72814",
    "products": [
      {
        "name": {
          "value": "rust-actix-files",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.6.10-1",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-72814",
      "aliases": [
        "UBUNTU-CVE-2026-72814"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-actix-files",
            "purl": "pkg:deb/ubuntu/rust-actix-files?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.6.10-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72814.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-actix-files-dev",
                "binary_version": "0.6.10-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:35.853838875Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-72814"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-72814",
        "https://www.cve.org/CVERecord?id=CVE-2026-72814",
        "https://github.com/actix/actix-web/security/advisories/GHSA-8v2v-wjwg-vx6r",
        "https://www.vulncheck.com/advisories/actix-web-before-information-disclosure-via-files"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-72814",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359689,
  "published_at": "2026-08-14T12:16:00+00:00"
}