CVE-2022-2111 Unrestricted Upload of File with Dangerous Type in inventree/inventree

Critical 9.0 Published Updated

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.

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-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.

Sources

Also known as GHSA-fr2w-mp56-g4xp, PYSEC-2026-825.

Is CVE-2022-2111 in your software?

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

Check your SBOMs for free