Live threats

All CVEs / Octoprint

CVE-2023-41047Octoprint

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
0.8%
probability of exploitation in 30 days · percentile 51
Auth required
Yes
Published
Oct 9, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1336
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Octoprint.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI octoprint < 1.9.3 1.9.3 pip install "octoprint>=1.9.3"
PyPI octoprint < 1.9.3 1.9.3 pip install "octoprint>=1.9.3"

Per OSV / GitHub Advisories (GHSA-fwfg-vprh-97ph, PYSEC-2023-195). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
octoprintoctoprint< 1.9.3

Official sources

References

Links published by the sources. Open them with care.