# CVE-2022-2872: Unrestricted Upload of File with Dangerous Type in octoprint/octoprint

- Severity: Low 3.7 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-21T09:55:08.000Z
- Modified: 2026-06-17T04:42:44.880Z
- Also known as: GHSA-49wm-4fp6-h59c, PYSEC-2022-286
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntrdev

## Description

Unrestricted Upload of File with Dangerous Type in GitHub repository octoprint/octoprint prior to 1.8.3.

(As written by CVE List.)

## Affected

- octoprint octoprint/octoprint: from unspecified before 1.8.3
- octoprint (PyPI): before 1.8.3; before 3e3c11811e216fb371a33e28412df83f9701e5b0
- octoprint octoprint: before 1.8.3

## Every score

- @huntrdev: CVSS:3.0 3.7 Low `CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.0 3.7 Low `CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://huntr.dev/bounties/b966c74d-6f3f-49fe-b40a-eaf25e362c56> (exploit, patch, third-party-advisory, web)
- <https://github.com/octoprint/octoprint/commit/3e3c11811e216fb371a33e28412df83f9701e5b0> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-2872> (advisory)
- <https://github.com/octoprint/octoprint> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2022-286.yaml> (web)
- <https://github.com/advisories/GHSA-49wm-4fp6-h59c> (advisory)

## Sources

- CVE List: [CVE-2022-2872](https://www.cve.org/CVERecord?id=CVE-2022-2872), CVE Terms of Use, modified 2025-05-28
- GitHub Advisory Database: [GHSA-49wm-4fp6-h59c](https://github.com/advisories/GHSA-49wm-4fp6-h59c), CC-BY-4.0, modified 2024-10-07
- NVD: [CVE-2022-2872](https://nvd.nist.gov/vuln/detail/CVE-2022-2872), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-286](https://osv.dev/vulnerability/PYSEC-2022-286), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2022-2872 · Whole record: https://cve.day/CVE-2022-2872.json · Rebuilt by cve.day 2026-11-25T22:58:15.164Z
