All reports
Medium

miniserve affected by a TOCTOU and symlink race vulnerability

Affected versions

Rust / Cargominiserve
Affected versions
< 0.32.0
Fixed version
0.32.0

Exploitation

CVE-2025-67124

Probability of exploitation in the next 30 days: 0.33%

FIRST EPSS · 2026-11-22

Description

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

Links