Skip to content
Heist/ feed
Back to feed
High

OctoPrint: File exfiltration possible via query parameters on upload endpoints

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-54134
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:56 UTC · Revision 1

Source evidence

OctoPrint: File exfiltration possible via query parameters on upload endpoints

core-osv · Original source

Published 21 Aug 2026, 18:28 UTC

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.

osv:CVE-2026-54134
Complete source record
{
  "id": "dfa3a28990957601e5eeefa83ecb95682baceb68f3d34184093218f29abc65d2",
  "url": "https://osv.dev/vulnerability/CVE-2026-54134",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "OctoPrint: File exfiltration possible via query parameters on upload endpoints",
    "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.",
    "evidence": "osv:CVE-2026-54134",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-54134",
      "aliases": [
        "CVE-2026-54134",
        "GHSA-j4h9-pm27-4rfw",
        "PYSEC-2026-2687"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/octoprint/octoprint",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "42be7409d4820431043da48ece30014e26b47073"
                },
                {
                  "introduced": "d0268b28427c6dc632bccdc75433ba67e53a5650"
                },
                {
                  "fixed": "3e1fa9c6679df57bd50d425b90bef89e880d1385"
                },
                {
                  "fixed": "579148beeb6d6e9b3d41b1cf32309b47218ed380"
                },
                {
                  "fixed": "8e3348197db867c30a32d13984f0bd0d664be413"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.11.8"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.0.0rc1"
                      },
                      {
                        "fixed": "2.0.0rc3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "579148beeb6d6e9b3d41b1cf32309b47218ed380"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8e3348197db867c30a32d13984f0bd0d664be413"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "42be7409d4820431043da48ece30014e26b47073"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "1.11.8"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3e1fa9c6679df57bd50d425b90bef89e880d1385"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "2.0.0rc3"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.0.0rc2",
            "2.0.0rc1",
            "1.11.7",
            "1.11.6",
            "1.11.5",
            "1.11.4",
            "1.11.3",
            "1.11.2",
            "1.11.1",
            "1.11.0",
            "1.10.3",
            "1.10.2",
            "1.10.1",
            "1.10.0",
            "1.9.3",
            "1.9.2",
            "1.9.0",
            "1.8.7",
            "1.8.6",
            "1.8.5",
            "1.8.4",
            "1.8.3",
            "1.8.2",
            "1.8.1",
            "1.8.0",
            "1.7.3",
            "1.7.2",
            "1.7.1",
            "1.6.1",
            "1.5.3",
            "1.5.2",
            "1.5.1",
            "1.5.0",
            "1.5.0rc3",
            "1.5.0rc2",
            "1.5.0rc1",
            "1.4.0rc6",
            "1.4.0rc5",
            "1.4.0rc4",
            "1.4.0rc3",
            "1.4.0rc2",
            "1.4.0rc1",
            "1.2.18",
            "1.2.18rc1",
            "1.2.17rc3",
            "1.2.17rc2",
            "1.2.17rc1",
            "1.2.16",
            "1.2.16rc2",
            "1.2.16rc1",
            "1.2.15",
            "1.2.14",
            "1.2.13",
            "1.2.12",
            "1.2.11",
            "1.2.10",
            "1.2.9",
            "1.2.8",
            "1.2.7",
            "1.2.6",
            "1.2.5",
            "1.2.4",
            "1.2.3",
            "1.2.2",
            "1.2.1",
            "1.2.0",
            "1.2.0-rc3",
            "1.2.0-rc2",
            "1.2.0-rc1",
            "1.2.0-dev",
            "1.1.0-dev"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54134.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.096209956Z",
      "provider": "osv",
      "references": [
        "https://github.com/OctoPrint/OctoPrint/releases/tag/1.11.8",
        "https://github.com/OctoPrint/OctoPrint/releases/tag/2.0.0rc3",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54134.json",
        "https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-j4h9-pm27-4rfw",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-54134",
        "https://github.com/OctoPrint/OctoPrint/commit/579148beeb6d6e9b3d41b1cf32309b47218ed380",
        "https://github.com/OctoPrint/OctoPrint/commit/8e3348197db867c30a32d13984f0bd0d664be413"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-73"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54134.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-54134",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503371,
  "published_at": "2026-08-21T18:28:15.925+00:00"
}