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.
Published: 2026-08-21
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote File Disclosure
Action: Apply Patch
AI Analysis

Impact

A flaw in OctoPrint’s upload handling, specifically CWE-73 – External Control of File Destination, allows an attacker with FILE_UPLOAD permission to inject internal upload fields through query parameters. Because the framework parses request parameters inconsistently, the attacker can cause OctoPrint to treat an arbitrary host file as a temporary upload, move it to a publicly downloadable directory, and disclose configuration secrets or other readable files. The attacker can also delete runtime files, potentially disrupting future restarts. This issue leads to unauthorized information disclosure and file manipulation rather than arbitrary code execution.

Affected Systems

Affected versions are all releases of OctoPrint prior to 1.11.8 and 2.0.0rc3. The vulnerability exists in the endpoints /api/files/{local|sdcard}, /api/languages, /plugin/backup/restore, and /plugin/pluginmanager/upload_file. Any deployment running one of these older versions is vulnerable, regardless of the printing firmware. The fix is available in OctoPrint 1.11.8 and OctoPrint 2.0.0rc3.

Risk and Exploitability

The CVSS score of 7 indicates a moderate severity. The EPSS score is not available, and the vulnerability has not been listed in CISA KEV. The likely attack vector is through the web interface; an attacker can send crafted HTTP requests to the vulnerable upload endpoints. The presence of the FILE_UPLOAD permission requirement means that the attacker must possess a user account with that privilege. Once the exploit is successful, the attacker can exfiltrate or delete files, compromising confidentiality and possibly affecting service availability.

Generated by OpenCVE AI on August 21, 2026 at 19:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OctoPrint to version 1.11.8 or 2.0.0rc3
  • Revoke FILE_UPLOAD permission for non‑trusted users or tighten role permissions
  • Block external access to /api/files/*, /api/languages, /plugin/backup/restore, and /plugin/pluginmanager/upload_file endpoints with a firewall or reverse‑proxy rule until the patch is applied

Generated by OpenCVE AI on August 21, 2026 at 19:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-j4h9-pm27-4rfw OctoPrint has possible file exfiltration via query parameters on upload endpoints
History

Wed, 26 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 21 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Octoprint
Octoprint octoprint
Vendors & Products Octoprint
Octoprint octoprint

Fri, 21 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
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.
Title OctoPrint: File exfiltration possible via query parameters on upload endpoints
Weaknesses CWE-73
References
Metrics cvssV4_0

{'score': 7, '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'}


Subscriptions

Octoprint Octoprint
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-26T17:34:27.359Z

Reserved: 2026-06-11T21:15:33.870Z

Link: CVE-2026-54134

cve-icon Vulnrichment

Updated: 2026-08-26T17:34:23.675Z

cve-icon NVD

Status : Received

Published: 2026-08-21T19:17:03.197

Modified: 2026-08-26T18:16:40.330

Link: CVE-2026-54134

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T20:00:13Z

Weaknesses
  • CWE-73

    External Control of File Name or Path