CVE-2022-2112 Improper Neutralization of Formula Elements in a CSV File in inventree/inventree
Attackers can execute arbitrary commands via CSV formula injection in InvenTree, requiring an upgrade to the latest version.
- 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-2112?
CVE-2022-2112 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
Improper Neutralization of Formula Elements in a CSV File in GitHub repository inventree/inventree prior to 0.7.2.
Weakness: CWE-1236
Which versions are affected by CVE-2022-2112?
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-2112?
Upgrade inventree to 0.7.2 or later.
Is CVE-2022-2112 being exploited?
There is no known exploitation of CVE-2022-2112 in the wild and no public exploit code.
Other vulnerabilities in inventree/inventree
- CVE-2022-2111 Unrestricted Upload of File with Dangerous Type 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-9hx5-jmxv-x44q, PYSEC-2026-824.