Vulnerability · Published Aug 21, 2026 · Assigned by GitHub_M
CVE-2026-54134OctoPrint: File exfiltration possible via query parameters on upload endpoints
High 7.0
In plain English
A high-severity security flaw in OctoPrint from OctoPrint. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
OctoPrint provides a web interface for controlling consumer 3D printers. Prior to 1.11.8 and 2.0.0rc3, OctoPrint's custom Tornado upload handler and Flask with Werkzeug parse request parameters differently, allowing an attacker with FILE_UPLOAD permission to inject reserved internal upload fields through query parameters or parser differentials despite the earlier GHSA-m9jh-jf9h-x3h2 fix. The affected endpoints are /api/files/{local|sdcard}, /api/languages, /plugin/backup/restore, and /plugin/pluginmanager/upload_file. An attacker can make OctoPrint treat an arbitrary host file as a temporary upload, move it into a downloadable upload directory, disclose configuration secrets or other readable files, and remove runtime files in a way that can affect a later restart. This issue is fixed in versions 1.11.8 and 2.0.0rc3.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | octoprint | 1.11.8 | GHSA-j4h9-pm27-4rfw |
| PyPI | octoprint | 2.0.0rc3 | GHSA-j4h9-pm27-4rfw |
| PyPI | octoprint | 1.11.8, 2.0.0rc3 | PYSEC-2026-2687 |
Affected products (as reported)
Weakness: CWE-73 · Vector: 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
References
- https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-j4h9-pm27-4rfw x_refsource_CONFIRM
- https://github.com/OctoPrint/OctoPrint/commit/579148beeb6d6e9b3d41b1cf32309b47218ed380 x_refsource_MISC
- https://github.com/OctoPrint/OctoPrint/commit/8e3348197db867c30a32d13984f0bd0d664be413 x_refsource_MISC
- https://github.com/OctoPrint/OctoPrint/releases/tag/1.11.8 x_refsource_MISC
- https://github.com/OctoPrint/OctoPrint/releases/tag/2.0.0rc3 x_refsource_MISC