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
- Severity: Medium (CVSS 3.x base score 6.2)
- EPSS exploit prediction: 1% (43rd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-1336
- Affected product: Octoprint
- Published:
- Last 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.
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
- 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
Affected products (1)
- cpe:2.3:a:octoprint:octoprint:*:*:*:*:*:*:*:*
More vulnerabilities in Octoprint
- CVE-2018-16710 — Critical (CVSS 9.1): OctoPrint through 1.3.9 allows remote attackers to obtain sensitive information or cause a denial of service via HTTP…
- CVE-2025-58180 — High (CVSS 8.8): OctoPrint provides a web interface for controlling consumer 3D printers. OctoPrint versions up until and including…
- CVE-2022-3068 — High (CVSS 8.8): Improper Privilege Management in GitHub repository octoprint/octoprint prior to 1.8.3.
- CVE-2022-2930 — High (CVSS 7.8): Unverified Password Change in GitHub repository octoprint/octoprint prior to 1.8.3.
- CVE-2022-2822 — High (CVSS 7.5): An attacker can freely brute force username and password and can takeover any account. An attacker could easily guess…
- CVE-2022-1430 — High (CVSS 7.5): Cross-site Scripting (XSS) - DOM in GitHub repository octoprint/octoprint prior to 1.8.0.
All CVEs affecting Octoprint →
Other CWE-1336 vulnerabilities
- CVE-2025-53833 — Critical (CVSS 10.0): LaRecipe is an application that allows users to create documentation with Markdown inside a Laravel app. Versions prior…
- CVE-2024-32651 — Critical (CVSS 10.0): changedetection.io is an open source web page change detection, website watcher, restock monitor and notification…
- CVE-2026-45312 — Critical (CVSS 9.9): RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In 0.24.0 and earlier, a Jinja2 template…
- CVE-2026-9558 — Critical (CVSS 9.9): A Server-Side Template Injection (SSTI) vulnerability exists in Mautic's theme engine. The platform renders uploaded…
- CVE-2026-33897 — Critical (CVSS 9.9): Incus is a system container and virtual machine manager. Prior to version 6.23.0, instance template files can be used…
- CVE-2026-1868 — Critical (CVSS 9.9): GitLab has remediated a vulnerability in the Duo Workflow Service component of GitLab AI Gateway affecting all versions…