Description
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.
Severity (CVSS)
| Base score | 6.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-22 — Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| actix | actix-web | 0 to <0.6.10; 0.6.10 |
References
- https://github.com/actix/actix-web/security/advisories/GHSA-8v2v-wjwg-vx6r (vendor-advisory)
- https://www.vulncheck.com/advisories/actix-web-before-information-disclosure-via-files (third-party-advisory)
Generated from the official CVE List on 15 Aug 2026 07:05 UTC.