# CVE-2025-67124: miniserve affected by a TOCTOU and symlink race vulnerability

- Severity: Medium 6.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-23T00:00:00.000Z
- Modified: 2026-06-17T09:57:27.783Z
- Also known as: GHSA-mxc8-4jqf-368q
- Weaknesses: CWE-59, CWE-367
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- miniserve (crates.io): before 0.32.0
- svenstaro miniserve: 0.32.0

## Every score

- CISA-ADP: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://gist.github.com/thesmartshadow/55688f87f8b985eb530e07d00ef8c63f> (exploit, third-party-advisory, web)
- <https://github.com/svenstaro/miniserve> (package, product)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-67124> (advisory)

## Sources

- CVE List: [CVE-2025-67124](https://www.cve.org/CVERecord?id=CVE-2025-67124), CVE Terms of Use, modified 2026-01-23
- GitHub Advisory Database: [GHSA-mxc8-4jqf-368q](https://github.com/advisories/GHSA-mxc8-4jqf-368q), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2025-67124](https://nvd.nist.gov/vuln/detail/CVE-2025-67124), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-67124 · Whole record: https://cve.day/CVE-2025-67124.json · Rebuilt by cve.day 2026-11-25T22:59:10.840Z
