Security mailing lists by PureSourceCode

CVE-2023-41047

MEDIUM 6.5CVSS 3.1

OctoPrint vulnerable to Improper Neutralization of Special Elements Used in a Template Engine

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.

Published
9 Oct 2023
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-1336
Also known as
GHSA-fwfg-vprh-97phPYSEC-2023-195
Sources
NVDJSONOSV GHSA-fwfg-vprh-97phJSONOSV PYSEC-2023-195JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.2 CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD octoprint octoprint
cpe:2.3:a:octoprint:octoprint:*:*:*:*:*:*:*:*
< 1.9.3 1.9.3
OSV PyPI octoprint < 1.9.3 1.9.3

References

History

  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 9 Oct 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Oct 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Oct 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.