Home / OctoPrint / OctoPrint / CVE-2025-58180
CVE-2025-58180: is it exploited, and which versions of OctoPrint are affected and fixed?
CVE-2025-58180 is an OS command injection vulnerability in OctoPrint. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: octoprint before 1.11.3 (GitHub advisory GHSA-49mj-x8jp-qvfc). Fixed in 1.11.3 (GitHub advisory GHSA-49mj-x8jp-qvfc). Severity: High (7.5, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:17 UTC.
What is CVE-2025-58180?
OctoPrint is Vulnerable to RCE Attacks via Unsanitized Filename in File Upload
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.
From the CVE record by GitHub_M, last updated September 10, 2025, 13:59 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| OctoPrint | OctoPrint | < 1.11.3 |
As the CVE record by GitHub_M states it, last updated September 10, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | octoprint | < 1.11.3 | 1.11.3 | GHSA-49mj-x8jp-qvfc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 18, 2025. Summary: OctoPrint is Vulnerable to RCE Attacks via Unsanitized Filename in File Upload.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| octoprint | octoprint | before 1.11.3 | application |
NVD analysis (status Analyzed), last modified October 19, 2026, 17:10 UTC.
How severe is CVE-2025-58180?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 4.0 | 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 | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-58180 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, September 10, 2025)
- EPSS
- 28.0% probability of exploitation activity in the next 30 days, percentile 98.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Where are the vendor advisories and references?
- https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-49mj-x8jp-qvfc x_refsource_CONFIRM
- https://github.com/OctoPrint/OctoPrint/commit/be4201ef58d9a7c03593252398c16eada90a258b x_refsource_MISC
- https://github.com/OctoPrint/OctoPrint/commit/c3a940962f4658a8e035a00388781b1cbd768841 x_refsource_MISC
- https://github.com/OctoPrint/OctoPrint/releases/tag/1.11.3 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 27, 2025
- Published
- September 9, 2025, 19:34 UTC
- CVE record updated
- September 10, 2025, 13:59 UTC by GitHub_M
- NVD
- Analyzed, last modified October 19, 2026, 17:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect OctoPrint?
- Nov 30, 2026CVE-2026-139901 OctoPrint: cross-site scripting (XSS)
- Nov 9, 2026CVE-2026-123364 OctoPrint: cross-site scripting (XSS)
- Oct 26, 2026CVE-2014-125135 OctoPrint: hard-coded cryptographic key
- Oct 26, 2026CVE-2013-10077 OctoPrint: information disclosure
- Aug 21, 2026CVE-2026-54134 OctoPrint: external Control of File Name or Path
- Aug 21, 2026CVE-2026-35163 OctoPrint: cross-site scripting (XSS)
- Jan 27, 2026CVE-2026-23892 OctoPrint: timing side channel
- Nov 7, 2025CVE-2025-64187 OctoPrint: cross-site scripting (XSS)
Questions about CVE-2025-58180
Is CVE-2025-58180 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 28.0% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of OctoPrint are affected by CVE-2025-58180?
octoprint before 1.11.3, per the GitHub advisory GHSA-49mj-x8jp-qvfc. The tables above give every range the sources list.
Which version fixes CVE-2025-58180?
1.11.3, per the GitHub advisory GHSA-49mj-x8jp-qvfc. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-58180?
High (7.5, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-58180?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.