← Back to search

CVE-2026-61744

6.5 MEDIUMpublic exploit available

Published 2026-09-21 · Updated 2026-09-21

AI risk analysis

Summary
The flaw allows low-privilege users to enumerate primary keys and disclose sensitive inventory data by exploiting the lack of proper role checks in the InvenTree barcode API endpoint.
Exploitability
Exploitation requires a user with basic authentication or read scope, making it moderately easy given the preconditions.
Blast radius
If exploited, this could lead to significant data breaches affecting inventory, pricing, supplier, and order information across multiple entities within the system.
Prioritized remediation
Upgrade to InvenTree version 1.4.0 or apply a patch that enforces proper role checks on the API endpoint.
webauth-bypassdata-disclosureinventory

Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

InvenTree is an Open Source Inventory Management System. Prior to 1.4.0, POST /api/barcode/ accepts an attacker-synthesized internal JSON barcode containing a lowercase model label and integer primary key, while BarcodeView uses IsAuthenticatedOrReadScope and requires only authentication or a general read scope. The built-in barcode plugin selects the object with model.objects.get(pk=...), and InvenTreeBarcodeMixin.format_matched_response() returns the complete model serializer output as instance without checking the caller's per-model view role. A low-privilege user can enumerate primary keys for parts, stock, locations, supplier and manufacturer parts, orders, and builds to disclose commercially sensitive inventory, pricing, supplier, customer, and order data. This issue is fixed in version 1.4.0.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Weaknesses

CWE-639, CWE-863

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.