CVE-2023-41047
MEDIUMOctoPrint <= 1.9.2 - Authenticated Remote Code Execution via GCODE Script Rendering
Title source: llmDescription
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.
References (3)
Core 3
Core References
Vendor Advisory x_refsource_confirm
https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-fwfg-vprh-97ph
Patch x_refsource_misc
https://github.com/OctoPrint/OctoPrint/commit/d0072cff894509c77e243d6562245ad3079e17db
Release Notes x_refsource_misc
https://github.com/OctoPrint/OctoPrint/releases/tag/1.9.3
Scores
CVSS v3
6.2
EPSS
0.0057
EPSS Percentile
42.4%
Attack Vector
ADJACENT_NETWORK
CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-1336
Status
published
Products (2)
octoprint/octoprint
< 1.9.3
pypi/OctoPrint
0 - 1.9.3PyPI
Published
Oct 09, 2023
Tracked Since
Feb 18, 2026