CVE-2025-67124

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

Configuration 1 (hide)

cpe:2.3:a:svenstaro:miniserve:0.32.0:*:*:*:*:*:*:*

History

17 Jun 2026, 09:57

Type Values Removed Values Added
Summary
  • (es) Una carrera TOCTOU y de symlink en la finalización de carga de svenstaro/miniserve 0.32.0 (cuando las cargas están habilitadas) puede permitir a un atacante sobrescribir archivos arbitrarios fuera de la raíz de carga/documentos prevista en despliegues donde el atacante puede crear/reemplazar entradas del sistema de archivos en el directorio de destino de carga (p. ej., directorio/volumen compartido y escribible).

11 Feb 2026, 19:45

Type Values Removed Values Added
CPE cpe:2.3:a:svenstaro:miniserve:0.32.0:*:*:*:*:*:*:*
References () https://gist.github.com/thesmartshadow/55688f87f8b985eb530e07d00ef8c63f - () https://gist.github.com/thesmartshadow/55688f87f8b985eb530e07d00ef8c63f - Exploit, Third Party Advisory
References () https://github.com/svenstaro/miniserve - () https://github.com/svenstaro/miniserve - Product
First Time Svenstaro
Svenstaro miniserve

23 Jan 2026, 19:15

Type Values Removed Values Added
CWE CWE-59
CWE-367
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.8

23 Jan 2026, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-23 16:15

Updated : 2026-06-17 09:57


NVD link : CVE-2025-67124

Mitre link : CVE-2025-67124

CVE.ORG link : CVE-2025-67124


JSON object : View

Products Affected

svenstaro

  • miniserve
CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')

CWE-367

Time-of-check Time-of-use (TOCTOU) Race Condition