OctoPrint File Exfiltration Vulnerability in Upload Endpoints

Vulnerability

A file exfiltration vulnerability has been identified in OctoPrint versions prior to 1.11.2. This issue allows an attacker with the FILE_UPLOAD permission to access and download files from the host system that OctoPrint can read. The vulnerability arises from the upload functionality, where files can be moved into the upload folder and subsequently downloaded. This poses a risk of leaking sensitive information from OctoPrint's configuration or other system files, potentially disrupting the host's availability by removing critical runtime files.

Impact

Exploitation of this vulnerability could lead to unauthorized access to files on the host system, including sensitive configuration data or other system files. Such actions could also disrupt the availability of the host by removing important runtime files.

Reproduction

To reproduce this vulnerability, an authenticated user with FILE_UPLOAD permission can upload a file through one of the affected endpoints. The file will be moved to the upload folder, from where it can be downloaded. This can be done using a crafted HTTP request that includes internal-only form inputs, bypassing normal file upload restrictions.

Remediation

Users can upgrade to OctoPrint version 1.11.2, where this vulnerability has been patched.

Added: Jun 10, 2025, 5:21 PM
Updated: Jun 10, 2025, 5:21 PM

Vulnerability Rating

Custom Algorithm
spread
4.5
impact
5.0
exploitability
4.5
remediation
7.7
relevance
0.2
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.