CVE-2025-48067: OctoPrint vulnerable to possible file extraction via upload endpoints

Published Jun 10, 2025
·
Updated

Impact

OctoPrint versions up until and including 1.11.1 contain a vulnerability that allows an attacker with the FILEUPLOAD permission to exfiltrate files from the host that OctoPrint has read access to, by moving them into the upload folder where they then can be downloaded from.

The primary risk lies in the potential exfiltration of secrets stored inside OctoPrint's config, or further system files. By removing important runtime files, this could also be used to impact the availability of the host. Given that the attacker requires a user account with file upload permissions, the actual impact of this should however hopefully be minimal in most cases.

Patches

The vulnerability has been patched in version 1.11.2.

Details

A specially crafted HTTP Request to an affected upload endpoint that contains some form inputs only supposed to be used internally can be used to make OctoPrint move a file that it thinks is a freshly uploaded temporary one into its upload folder.

The following endpoints in OctoPrint are affected:

- /api/files/{local|sdcard} - /api/languages - /plugin/backup/restore - /plugin/pluginmanager/uploadfile

Further upload endpoints in third party plugins might be affected too.

The fix removes any internal-only form inputs from incoming requests in the central file upload processor component.

Credits

This vulnerability was discovered and responsibly disclosed to OctoPrint by Jacopo Tediosi

Other sources

OctoPrint provides a web interface for controlling consumer 3D printers. OctoPrint versions up until and including 1.11.1 contain a vulnerability that allows an attacker with the FILEUPLOAD permission to exfiltrate files from the host that OctoPrint has read access to, by moving them into the upload folder where they then can be downloaded from. This vulnerability is fixed in 1.11.2.

MITRE

Affected Software

2 affected componentsFixes available
pip/OctoPrint<1.11.2
1.11.2
OctoPrint OctoPrint<1.11.2

Event History

Jun 10, 2025
CVE Published
via MITRE·03:19 PM
Data Sourced
via MITRE·03:19 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
RemedyAffected Software
Advisory Published
via GitHub·08:13 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-48067?

CVE-2025-48067 is considered a moderate severity vulnerability due to the potential for file exfiltration.

2

How do I fix CVE-2025-48067?

To fix CVE-2025-48067, upgrade to OctoPrint version 1.11.2 or later.

3

What kind of permission is required to exploit CVE-2025-48067?

CVE-2025-48067 requires the attacker to have the `FILE_UPLOAD` permission to exploit the vulnerability.

4

What can an attacker do if they exploit CVE-2025-48067?

If exploited, CVE-2025-48067 allows an attacker to exfiltrate files from the host system that OctoPrint can access.

5

Which versions of OctoPrint are affected by CVE-2025-48067?

CVE-2025-48067 affects all OctoPrint versions up to and including 1.11.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203