{"cve":"CVE-2023-41047","nvd":{"published":"2023-10-09T16:15:10.480","modified":"2026-06-17T06:20:17.070","status":"Modified","description":"OctoPrint is a web interface for 3D printers. OctoPrint versions up until and including 1.9.2 contain a vulnerability that allows malicious admins to configure a specially crafted GCODE script that will allow code execution during rendering of that script. An attacker might use this to extract data managed by OctoPrint, or manipulate data managed by OctoPrint, as well as execute arbitrary commands with the rights of the OctoPrint process on the server system. OctoPrint versions from 1.9.3 onward have been patched. Administrators of OctoPrint instances are advised to make sure they can trust all other administrators on their instance and to also not blindly configure arbitrary GCODE scripts found online or provided to them by third parties.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","score":6.5},"cwes":["CWE-1336"],"references":["https://github.com/OctoPrint/OctoPrint/commit/d0072cff894509c77e243d6562245ad3079e17db","https://github.com/OctoPrint/OctoPrint/releases/tag/1.9.3","https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-fwfg-vprh-97ph","https://github.com/OctoPrint/OctoPrint/commit/d0072cff894509c77e243d6562245ad3079e17db","https://github.com/OctoPrint/OctoPrint/releases/tag/1.9.3"],"products":["octoprint:octoprint"],"source":"nvd","synced_at":"2026-10-19T21:39:34.467980132+00:00"},"epss":{"cve":"CVE-2023-41047","score":0.00587,"percentile":0.48096,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-fwfg-vprh-97ph","url":"https://osv.dev/vulnerability/GHSA-fwfg-vprh-97ph","summary":"OctoPrint vulnerable to Improper Neutralization of Special Elements Used in a Template Engine","modified":"2024-10-07T17:03:55.009601Z","packages":[{"ecosystem":"PyPI","name":"octoprint","purl":"pkg:pypi/octoprint","ranges":["<1.9.3"],"fixed":["1.9.3"]}]},{"id":"PYSEC-2023-195","url":"https://osv.dev/vulnerability/PYSEC-2023-195","summary":"","modified":"2023-11-08T04:13:23.882327Z","packages":[{"ecosystem":"PyPI","name":"octoprint","purl":"pkg:pypi/octoprint","ranges":["<1.9.3"],"fixed":["1.9.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."]}