← Vulnerability feed

Vulnerability record · CVE-2025-58180 · published 9 September 2025

CVE-2025-58180: Octoprint os command injection vulnerability

Octoprint · Octoprint

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.

7.5 CVSS 4.0 High EPSS 21% · top 2.6% CWE-78 · OS command injection
7.5CVSS 4.0 base score
21%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References
17 Jun 2026Last modified by NVD

Description

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.

CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-58180 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.4CVE-2024-32977Octoprint authentication bypass by spoofing vulnerabilityOctoPrint provides a web interface for controlling consumer 3D printers. OctoPrint versions up until and including 1.10.0 contain a vulnerability tha…EPSS 0.90%9.1CVE-2018-16710Octoprint information exposure vulnerabilityOctoPrint through 1.3.9 allows remote attackers to obtain sensitive information or cause a denial of service via HTTP requests on port 8081. NOTE: th…EPSS 2.1%8.8CVE-2022-3068Octoprint improper privilege management vulnerabilityImproper Privilege Management in GitHub repository octoprint/octoprint prior to 1.8.3.EPSS 0.51%7.8CVE-2022-2930Octoprint vulnerabilityUnverified Password Change in GitHub repository octoprint/octoprint prior to 1.8.3.EPSS 0.35%7.5CVE-2022-2822Octoprint improper restriction of authentication attempts vulnerabilityAn attacker can freely brute force username and password and can takeover any account. An attacker could easily guess user passwords and gain access …EPSS 0.85%7.5CVE-2022-1430Octoprint cross-site scripting vulnerabilityCross-site Scripting (XSS) - DOM in GitHub repository octoprint/octoprint prior to 1.8.0.EPSS 1.3%6.5CVE-2025-48879Octoprint vulnerabilityOctoPrint versions up until and including 1.11.1 contain a vulnerability that allows any unauthenticated attacker to send a manipulated broken multip…EPSS 0.26%6.5CVE-2024-51493Octoprint missing authentication for critical function vulnerabilityOctoPrint provides a web interface for controlling consumer 3D printers. OctoPrint versions up until and including 1.10.2 contain a vulnerability tha…EPSS 0.28%

Source: NIST National Vulnerability Database (record CVE-2025-58180), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.