What’s Vulnerable › Vulnerabilities
CVE-2022-2872: Unrestricted Upload of File with Dangerous Type in octoprint/octoprint
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-09-21 · updated 2026-06-17
- Weakness: CWE-434
Description
Unrestricted Upload of File with Dangerous Type in GitHub repository octoprint/octoprint prior to 1.8.3.
Affected products
- OctoPrint: before 1.8.3 — fixed in 1.8.3
How to fix
Upgrade to a fixed version: OctoPrint 1.8.3. Check the vendor advisory for mitigations.
References
- https://github.com/octoprint/octoprint/commit/3e3c11811e216fb371a33e28412df83f9701e5b0
- https://huntr.dev/bounties/b966c74d-6f3f-49fe-b40a-eaf25e362c56
- https://github.com/octoprint/octoprint/commit/3e3c11811e216fb371a33e28412df83f9701e5b0
- https://huntr.dev/bounties/b966c74d-6f3f-49fe-b40a-eaf25e362c56
Get alerted when CVE-2022-2872 or the next vulnerability affects your stack