NetSight
medium6.3

CVE-2025-67124

miniserve affected by a TOCTOU and symlink race vulnerability

Impact

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).

Affected packages

EcosystemPackageAffectedFixed in
rustminiserve< 0.32.00.32.0

Affected products

VendorProductAffected versions
SvenstaroMiniserve
Version 0.32.0

Weakness classification

References