External Control of File Name or Path in OctoPrint - CVE-2025-48067
Published: June 10, 2025 / Updated: November 9, 2026
Vulnerability details
The vulnerability allows an adjacent-network attacker with FILE_UPLOAD permission to exfiltrate host files that OctoPrint can read, including configuration secrets.
The vulnerability exists due to OctoPrint's upload processor accepting internal-only form inputs from crafted HTTP requests and treating attacker-selected host files as temporary uploads. An adjacent-network attacker with FILE_UPLOAD permission can submit these inputs to an affected upload endpoint to move a readable host file into the upload folder and download it.