{"cve":"CVE-2025-58180","nvd":{"published":"2025-09-09T20:15:48.257","modified":"2026-10-19T17:10:00.173","status":"Analyzed","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_v4":{"vector":"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","score":7.5},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-78"],"references":["https://github.com/OctoPrint/OctoPrint/commit/be4201ef58d9a7c03593252398c16eada90a258b","https://github.com/OctoPrint/OctoPrint/commit/c3a940962f4658a8e035a00388781b1cbd768841","https://github.com/OctoPrint/OctoPrint/releases/tag/1.11.3","https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-49mj-x8jp-qvfc"],"products":["octoprint:octoprint"],"source":"nvd","synced_at":"2026-10-19T22:08:41.295252406+00:00"},"epss":{"cve":"CVE-2025-58180","score":0.22139,"percentile":0.97653,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-49mj-x8jp-qvfc","url":"https://osv.dev/vulnerability/GHSA-49mj-x8jp-qvfc","summary":"OctoPrint is Vulnerable to RCE Attacks via Unsanitized Filename in File Upload","modified":"2026-07-07T17:57:00.775499087Z","packages":[{"ecosystem":"PyPI","name":"octoprint","purl":"pkg:pypi/octoprint","ranges":["<1.11.3"],"fixed":["1.11.3"]}]},{"id":"PYSEC-2026-1712","url":"https://osv.dev/vulnerability/PYSEC-2026-1712","summary":"OctoPrint is Vulnerable to RCE Attacks via Unsanitized Filename in File Upload","modified":"2026-07-07T17:46:29.843888901Z","packages":[{"ecosystem":"PyPI","name":"octoprint","purl":"pkg:pypi/octoprint","ranges":["<1.11.3"],"fixed":["1.11.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}