{"id":"CVE-2025-67124","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).","aliases":["GHSA-mxc8-4jqf-368q"],"modified":"2026-08-12T03:51:48.243263367Z","published":"2026-01-23T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67124.json","cna_assigner":"mitre"},"references":[{"type":"WEB","url":"https://gist.github.com/thesmartshadow/55688f87f8b985eb530e07d00ef8c63f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67124.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67124"},{"type":"PACKAGE","url":"https://github.com/svenstaro/miniserve"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/svenstaro/miniserve","events":[{"introduced":"757207b76966ee3db3091a3b493714d188e55bd1"},{"last_affected":"757207b76966ee3db3091a3b493714d188e55bd1"}],"database_specific":{"extracted_events":[{"introduced":"0.32.0"},{"last_affected":"0.32.0"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:svenstaro:miniserve:0.32.0:*:*:*:*:*:*:*"}}],"versions":["0.32.0","v0.32.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-67124.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H"}]}