CVE-2022-2111 Unrestricted Upload of File with Dangerous Type in inventree/inventree
Attackers can upload dangerous file types to the InvenTree inventory system, potentially leading to remote code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-2111?
CVE-2022-2111 is a critical vulnerability in inventree/inventree, published on 17 Jun 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Unrestricted Upload of File with Dangerous Type in GitHub repository inventree/inventree prior to 0.7.2.
Weakness: CWE-434
Which versions are affected by CVE-2022-2111?
3 open source packages ship an affected version, including inventree. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
inventree PyPI | All versions | 0.7.2 |
inventree PyPI | All versions | 0.7.2 |
inventree PyPI | All versions | 0.7.2 |
Products include Inventree Project Inventree.
How do I fix CVE-2022-2111?
Upgrade inventree to 0.7.2 or later.
Is CVE-2022-2111 being exploited?
There is no known exploitation of CVE-2022-2111 in the wild and no public exploit code.
Other vulnerabilities in inventree/inventree
- CVE-2022-2112 Improper Neutralization of Formula Elements in a CSV File in inventree/inventree
- CVE-2022-2113 Cross-site Scripting (XSS) - Stored in inventree/inventree
- CVE-2026-35478 InvenTree has Arbitrary API Token Creation
- CVE-2022-3355 Cross-site Scripting (XSS) - Stored in inventree/inventree
- CVE-2026-33530 InvenTree Vulnerable to ORM Filter Injection
Sources
Also known as GHSA-fr2w-mp56-g4xp, PYSEC-2026-825.