CVE-2025-67124
MEDIUM 6.8CVSS 3.1miniserve affected by a TOCTOU and symlink race vulnerability
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).
- Published
- 23 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-367CWE-59
- Also known as
- GHSA-mxc8-4jqf-368q
- Sources
- NVDJSONOSV GHSA-mxc8-4jqf-368qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | svenstaro | miniservecpe:2.3:a:svenstaro:miniserve:0.32.0:*:*:*:*:*:*:* |
= 0.32.0 | |
| OSV | crates.io | miniserve | < 0.32.0 | 0.32.0 |
References
- https://gist.github.com/thesmartshadow/55688f87f8b985eb530e07d00ef8c63f · Exploit, Third Party Advisory, WEB
- https://github.com/svenstaro/miniserve · Product, PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2025-67124 · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 23 Jan 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Jan 2026)