Loading advisory.
Loading advisory.
actix-files has a possible exposure of information vulnerability
When passing a non-existing folder to the actix_files::Files::new() method causes the actix server to expose unexpected files.
Published 2026-02-06 18:56 UTC · Modified 2026-10-29 21:16 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| actix-files | crates.io | < 0.6.10 | 0.6.10 | cargo add actix-files@0.6.10 |
When passing a non-existing folder to the actix_files::Files::new() method causes the actix server to expose unexpected files.
The actix-files library exposes a Files struct that configures an actix service to serve the files in a folder as static assets. Below you can find the signature of the Files::new method:
pub fn new<T: Into<PathBuf>>(mount_path: &str, serve_from: T) -> FilesWhen the mount_path you pass to Files doesn't exist, it defaults to an empty path (Path::new()). When the service receives a HTTP request, it joins the request information with the empty path and calls canonicalize. Rust resolves this path as relative and returns any file that matches it.
This behavior causes the library to expose unexpected files when the folder is not present.
There is a working PoC on https://github.com/Angelmmiguel/actix-files-vuln, although the next steps can be followed to reproduce the issue
Clone the https://github.com/actix/examples repository.
Change your directory to the basics/static-files folder.
Edit the src/main.rs file and change the line 13 to mount a non-existing folder:
- .service(Files::new("/images", "static/images/").show_files_listing())
+ .service(Files::new("/images", "static/missing/").show_files_listing())Run the project with cargo run.
Access the http://localhost:8080/images/Cargo.toml URL.
This is an exposure of information vulnerability. It affects anyone using the actix-files::Files library that mounts a non-existing folder for any reason.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.005 on 2026-11-24 to 0.005 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.005 | first score | v2026.06.15 |
| 2026-11-26 | 0.005 | 0.005 | v2026.06.15 |