External Control of File Name or Path in OctoPrint - CVE-2026-54134
Published: November 9, 2026
Vulnerability details
The vulnerability allows an authenticated adjacent-network attacker with FILE_UPLOAD permission to exfiltrate host files readable by OctoPrint, including configuration secrets.
The vulnerability exists due to incomplete validation of reserved file-path parameters in OctoPrint's upload endpoints when processing query parameters or inconsistently parsed requests. An authenticated adjacent-network attacker with FILE_UPLOAD permission can inject these parameters to make OctoPrint treat a host file as an upload and move it into the upload folder for downloading.