Medium, CVSS 6.3crates.ioPublished
miniserve affected by a TOCTOU and symlink race vulnerability
CVE-2025-67124 · GHSA-mxc8-4jqf-368q
- Affected
- crates.io miniserve < 0.32.0
- Fixed in
- 0.32.0· Vendor fix available
- Issue
- A TOCTOU and symlink race in svenstaro/miniserve 0.32.0 upload finalization (when uploads are enabled) can allow an attacker to overwrite arbitrary files outside the intended upload/document root in deployments where the attacker can create/replace filesystem entries in the upload destination directory (e.g., shared writable directory/volume).
Recommended action: Upgrade to 0.32.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.