CVE-2022-2872 json
Unrestricted Upload of File with Dangerous Type in octoprint/octoprint
published 2022-09-21 4 y ago modified 2026-06-17 4 mo ago also GHSA-49wm-4fp6-h59c , PYSEC-2022-286 , EUVD-2022-0176
- cvss
- 3.7
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
Unrestricted Upload of File with Dangerous Type in GitHub repository octoprint/octoprint prior to 1.8.3.
Patch / fix
- pypi octoprint 1.8.3
- octoprint octoprint/octoprint 1.8.3
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
0.69% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.dev https://huntr.dev/bounties/b966c74d-6f3f-49fe-b40a-eaf25e362c56 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 3.7 | CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.0 | 3.7 | CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | octoprint | <1.8.3 |
1.8.3 |
Affected products
- octoprint octoprint/octoprint
Classification
- Weakness
-
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
-
github.com
/octoprint/octoprint/commit/3e3c11811e216fb371a33e28412df83f9701e5b0
web, patch, third-party-advisory
-
huntr.dev
/bounties/b966c74d-6f3f-49fe-b40a-eaf25e362c56
web, exploit, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-2872
advisory
-
github.com
/octoprint/octoprint
package
-
github.com
/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2022-286.yaml
web
-
github.com
/advisories/GHSA-49wm-4fp6-h59c
advisory
Sources
- CVE List CVE-2022-2872
- GitHub Advisory GHSA-49wm-4fp6-h59c
- NVD CVE-2022-2872
- OSV PYSEC-2022-286
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.