CVE-2026-33530

InvenTree Vulnerable to ORM Filter Injection

Published Mar 26, 2026 CVSS 3.1 · 7.7 High EPSS < 1% KEV · Not listed
Description
InvenTree is an Open Source Inventory Management System. Prior to version 1.2.6, certain API endpoints associated with bulk data operations can be hijacked to exfiltrate sensitive information from the database. The bulk operation API endpoints (e.g. `/api/part/`, `/api/stock/`, `/api/order/so/allocation/`, and others) accept a filters parameter that is passed directly to Django's ORM queryset.filter(**filters) without any field allowlisting. This enables any authenticated user to traverse model relationships using Django's __ lookup syntax and perform blind boolean-based data extraction. This issue is patched in version 1.2.6, and 1.3.0 (or above). Users should update to the patched versions. No known workarounds are available.

Analysis

AI-generated

Technical impact

The vulnerability in InvenTree allows an authenticated user to craft filter queries that are directly forwarded to Django's ORM without any field allowlisting. Because no allowlist is enforced, the attacker can traverse model relationships using the __ lookup syntax and perform blind boolean-based extraction, effectively retrieving arbitrary data from the database. This results in unauthorized disclosure of sensitive inventory information and corresponds to CWE-202.

Affected Systems

InvenTree inventory management system, versions prior to 1.2.6 and any 1.3.x releases earlier than 1.3.0 are affected. The issue applies to API endpoints used for bulk operations such as parts, stock, and order allocations. Updating to version 1.2.6 or later, or 1.3.0 and above, removes the flaw.

Risk and Exploitability

The CVSS base score of 7.7 indicates a high risk environment. However, the EPSS score is below 1% and the vulnerability is not listed in the KEV catalog, suggesting limited exploitation in the wild at present. Attacking requires valid authentication and API access, and the lack of a workaround means that only patching mitigates the risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update InvenTree to version 1.2.6 or newer (including 1.3.0+).
  • Restrict bulk API access to only authorized personnel until the patch is applied.

Generated by OpenCVE AI on April 2, 2026 at 04:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Inventree Project
Inventree Project inventree
CPEs cpe:2.3:a:inventree_project:inventree:*:*:*:*:*:*:*:*
Vendors & Products Inventree Project
Inventree Project inventree
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Inventree
Inventree inventree
Vendors & Products Inventree
Inventree inventree
Type Values Removed Values Added
Description InvenTree is an Open Source Inventory Management System. Prior to version 1.2.6, certain API endpoints associated with bulk data operations can be hijacked to exfiltrate sensitive information from the database. The bulk operation API endpoints (e.g. `/api/part/`, `/api/stock/`, `/api/order/so/allocation/`, and others) accept a filters parameter that is passed directly to Django's ORM queryset.filter(**filters) without any field allowlisting. This enables any authenticated user to traverse model relationships using Django's __ lookup syntax and perform blind boolean-based data extraction. This issue is patched in version 1.2.6, and 1.3.0 (or above). Users should update to the patched versions. No known workarounds are available.
Title InvenTree Vulnerable to ORM Filter Injection
Weaknesses CWE-202
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'}

Weaknesses
  • CWE-202

    Exposure of Sensitive Information Through Data Queries

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 30, 2026, 11:24 AM
Reserved
Mar 20, 2026, 6:05 PM
Status
Analyzed
Published
Mar 26, 2026, 8:16 PM
Modified
Oct 7, 2026, 8:10 AM