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).
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mxc8-4jqf-368q miniserve affected by a TOCTOU and symlink race vulnerability
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 23 Jan 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-367
CWE-59
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 23 Jan 2026 15:45:00 +0000

Type Values Removed Values Added
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).
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-01-23T18:51:54.527Z

Reserved: 2025-12-08T00:00:00.000Z

Link: CVE-2025-67124

cve-icon Vulnrichment

Updated: 2026-01-23T18:50:54.688Z

cve-icon NVD

Status : Received

Published: 2026-01-23T16:15:52.247

Modified: 2026-01-23T19:15:53.147

Link: CVE-2025-67124

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses