All reports
Low

OctoPrint vulnerable to Unrestricted Upload of File with Dangerous Type

Affected versions

Version ranges need review.

Affected versions
< 1.8.3
Fixed version
1.8.3
Affected versions
Unknown
Fixed version
1.8.3

Exploitation

CVE-2022-2872

Probability of exploitation in the next 30 days: 0.71%

FIRST EPSS · 2026-11-23

Description

OctoPrint prior to version 1.8.3 is vulnerable to Unrestricted Upload of File with Dangerous Type. Due to misconfiguration in move file functionality, an attacker could easily change the file extension of an uploaded malicious file disguised as a .gcode file. Version 1.8.3 contains a patch.

Links