Skip to content

OctoPrint

OctoPrint is Vulnerable to RCE Attacks via Unsanitized Filename in File Upload

CVE-2025-58180Published 9 Sep 2025, 19:34 UTC

Real-world risk

1.0/ 10Low

Routine

If the vulnerable configuration applies to you: 2.3

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.5

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

OctoPrint provides a web interface for controlling consumer 3D printers. OctoPrint versions up until and including 1.11.2 contain a vulnerability that allows an authenticated attacker to upload a file under a specially crafted filename that will allow arbitrary command execution if said filename becomes included in a command defined in a system event handler and said event gets triggered. If no event handlers executing system commands with uploaded filenames as parameters have been configured, this vulnerability does not have an impact. The vulnerability is patched in version 1.11.3. As a workaround, OctoPrint administrators who have event handlers configured that include any kind of filename based placeholders should disable those by setting their `enabled` property to `False` or unchecking the "Enabled" checkbox in the GUI based Event Manager. Alternatively, OctoPrint administrators should set `feature.enforceReallyUniversalFilenames` to `true` in `config.yaml` and restart OctoPrint, then vet the existing uploads and make sure to delete any suspicious looking files. As always, OctoPrint administrators are advised to not expose OctoPrint on hostile networks like the public internet, and to vet who has access to their instance.

Am I affected?

ProductAffected versions (from the sources)Fixed in
OctoPrintNiche< 1.11.31.11.3

What to do

Update to a fixed version: 1.11.3.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionAdjacentSame Wi-Fi, Bluetooth range or network segmentFrom the CVSS vector0.40
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • Exploit-DB entry (link)

EPSS 28.0% chance of exploitation in 30 days (percentile 98), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.108
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 1 × prerequisites 0.108 × threat 0.951.026
  4. Rounded to one decimal between 0.1 and 101.0

How the score works

Exploitation and evidence timeline

  1. 9 Sep 2025 Published
  2. 3 Dec 2026 Exploit-DB entry first seen
  3. 3 Dec 2026 Risk 1.0 (cvss fallback)

Weakness

CWE-78

References

Get alerts for OctoPrint

Free email or text alerts when a vulnerability in OctoPrint reaches risk 8 or higher. Nothing else.