{"id":"CVE-2025-67124","published":"2026-01-23T00:00:00Z","modified":"2026-01-23T18:51:54Z","title":"A TOCTOU and symlink race in svenstaro/miniserve 0.32.0 upload finalization (when uploads are enabled) can allow an…","vendor":null,"product":null,"tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00325,"percentile":0.26239,"provenance":"source"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/svenstaro/miniserve","tags":[]},{"url":"https://gist.github.com/thesmartshadow/55688f87f8b985eb530e07d00ef8c63f","tags":[]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":5.25},{"name":"CVSS severity","points":4.76}]},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-23T18:49:03.473735Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"miniserve","vulnerableRanges":["<0.32.0"],"patched":["0.32.0"],"from":["GHSA-mxc8-4jqf-368q"],"provenance":"source"}],"summary":{"text":"The flaw is a time-of-check to time-of-use race and symlink link-following issue in the upload finalization logic of svenstaro/miniserve 0.32.0, a file-serving tool, when uploads are enabled. An attacker who can create or replace filesystem entries in the upload destination directory, such as a shared writable directory or volume, and who has a low-privilege account on the server could overwrite arbitrary files outside the intended upload or document root, with the race condition requiring high complexity to exploit.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:10Z"},"euvd":{"id":"EUVD-2026-4261","exploited":false,"provenance":"source"}}