miniserve affected by a TOCTOU and symlink race vulnerability
Moderate severity
GitHub Reviewed
Published
Jan 23, 2026
to the GitHub Advisory Database
•
Updated Jan 23, 2026
Description
Published by the National Vulnerability Database
Jan 23, 2026
Published to the GitHub Advisory Database
Jan 23, 2026
Last updated
Jan 23, 2026
Reviewed
Jan 23, 2026
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).
References