CVE-2023-41047
published medium CVSS 3.1 · 6.2Improper Neutralization of Special Elements Used in a Template Engine in OctoPrint
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OctoPrint | OctoPrint | < 1.9.3 (affected) | GitHub_M · cna |
| octoprint | octoprint | 0 to < 1.9.3 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-1336 CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
References
3Provider assertions
3GitHub_M · cna
Improper Neutralization of Special Elements Used in a Template Engine in OctoPrint
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 39dcf88aee463e36b85185c15689930f1044e038468a288858ff8aa0043c1005
- Ingested
- 23 Sep 2026, 08:11:26 UTC
- Source record
- Official CVE record