Advisory

RUSTSEC-2026-0443

Also known as: GHSA-8hcm-m7r7-frwc

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.

Severity

Not rated by the source.

Dates

Published
2026-11-06 12:00 UTC
Modified
2026-11-06 14:45 UTC

Affected packages and fixes

actix-files

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.7.4 (semver)

Fixed versions

0.7.4

Fix

  • Fixed version 0.7.4
    cargo update -p actix-files --precise 0.7.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences