External Control of File Name or Path in OctoPrint - CVE-2025-48067

 

External Control of File Name or Path in OctoPrint - CVE-2025-48067

Published: June 10, 2025 / Updated: November 9, 2026


Vulnerability identifier: #VU162905
CSH Severity: Low
CVSS v4: 7 [CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-48067
CWE-ID: CWE-73
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

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.


Affected software

OctoPrint

How to mitigate CVE-2025-48067

Install security update from vendor's website.

OctoPrint - update to 1.11.2

External References

Related Security Bulletins