Advisory

GHSA-mxc8-4jqf-368q

Also known as: CVE-2025-67124

Summary

miniserve affected by a TOCTOU and symlink race vulnerability

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-01-23 18:31 UTC
Modified
2026-02-03 03:12 UTC

Affected packages and fixes

miniserve

crates.io · All systems

Affected

  • introduced 0, fixed 0.32.0 (semver)

Fixed versions

0.32.0

Fix

  • Fixed version 0.32.0
    cargo update -p miniserve --precise 0.32.0

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences