OctoPrint: File exfiltration possible via query parameters on upload endpoints
Key facts
- Attack vector
- Adjacent network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OctoPrint | OctoPrint | before 1.11.8; 2.0.0rc1 to before 2.0.0rc3 | 1.11.8, 2.0.0rc3 | Patch available | CNA |
| — | OctoPrint (PyPI) | before 1.11.8 | 1.11.8 | Patch available | GHSA-j4h9-pm27-4rfw |
| — | OctoPrint (PyPI) | 2.0.0rc1 to before 2.0.0rc3 | 2.0.0rc3 | Patch available | GHSA-j4h9-pm27-4rfw |
- OctoPrint VendorOctoPrint Affected before 1.11.8; 2.0.0rc1 to before 2.0.0rc3 Fixed in 1.11.8, 2.0.0rc3 Patch available CNA
- OctoPrint (PyPI) Vendor— Affected before 1.11.8 Fixed in 1.11.8 Patch available GHSA-j4h9-pm27-4rfw
- OctoPrint (PyPI) Vendor— Affected 2.0.0rc1 to before 2.0.0rc3 Fixed in 2.0.0rc3 Patch available GHSA-j4h9-pm27-4rfw
Remediation
- Fix · CNA OctoPrint (OctoPrint) Fixed in 1.11.8, 2.0.0rc3
- Fix · GHSA-j4h9-pm27-4rfw OctoPrint (PyPI) Fixed in 1.11.8 Advisory →
- Fix · GHSA-j4h9-pm27-4rfw OctoPrint (PyPI) Fixed in 2.0.0rc3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54134
- 2026-10-03 Alias added: GHSA-j4h9-pm27-4rfw
References
Other 7
- https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-j4h9-pm27-4rfw
- https://github.com/OctoPrint/OctoPrint/commit/579148beeb6d6e9b3d41b1cf32309b47218ed380
- https://github.com/OctoPrint/OctoPrint/commit/8e3348197db867c30a32d13984f0bd0d664be413
- https://github.com/OctoPrint/OctoPrint/releases/tag/1.11.8
- https://github.com/OctoPrint/OctoPrint/releases/tag/2.0.0rc3
- https://github.com/OctoPrint/OctoPrint
- https://github.com/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2026-2687.yaml
More OctoPrint vulnerabilities
- TI-2022-02830 Improper Privilege Management in octoprint/octoprint CVSS 3.1HIGH 8.8
- TI-2022-03320 Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) in octoprint/octoprint CVSS 3.1MEDIUM 6.0
- TI-2022-02664 Unrestricted Upload of File with Dangerous Type in octoprint/octoprint CVSS 3.1MEDIUM 5.4
- TI-2025-35988 OctoPrint is Vulnerable to RCE Attacks via Unsanitized Filename in File Upload CVSS 4.0HIGH 7.5
- TI-2024-18796 OctoPrint XSS via the "Snapshot Test" feature in Classic Webcam plugin settings CVSS 3.1MEDIUM 4.8
- TI-2022-02678 Insufficient Session Expiration in octoprint/octoprint CVSS 3.1MEDIUM 4.4
Sources
- CVE-2026-54134 · CVE Program
- CVE-2026-54134 · NVD
- FIRST EPSS
- GHSA-j4h9-pm27-4rfw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences