CVE-2022-2112 Improper Neutralization of Formula Elements in a CSV File in inventree/inventree

Critical 9.0 Published Updated

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.

PackageAffectedFixed in
inventree PyPIAll versions0.7.2
inventree PyPIAll versions0.7.2
inventree PyPIAll versions0.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.

Sources

Also known as GHSA-9hx5-jmxv-x44q, PYSEC-2026-824.

Is CVE-2022-2112 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free