CVE-2023-41047

CVE-2023-41047 is a medium-severity vulnerability in Octoprint with a CVSS 3.x base score of 6.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-1336.

Key facts

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.

Frequently asked questions

What is CVE-2023-41047?
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.
How severe is CVE-2023-41047?
CVE-2023-41047 has a CVSS 3.x base score of 6.2, rated medium severity. It is exploitable over an adjacent network with low attack complexity, requires high privileges and user interaction. Impact on confidentiality is high, integrity high, and availability low.
Is CVE-2023-41047 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (43rd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2023-41047?
CVE-2023-41047 affects Octoprint. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2023-41047?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2023-41047 published?
CVE-2023-41047 was published on 2023-10-09 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Octoprint

All CVEs affecting Octoprint →

Other CWE-1336 vulnerabilities

Browse all CWE-1336 vulnerabilities →