๐Ÿ” CVE Alert

CVE-2026-61744

MEDIUM 6.5

InvenTree: Barcode-scan API (`POST /api/barcode/`) returns full serialized object data without enforcing the model's view role

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-639 CWE-863
Vendor inventree
Product inventree
Published Sep 21, 2026
Stay Ahead of the Next One

Get instant alerts for inventree inventree

Be the first to know when new medium vulnerabilities affecting inventree inventree are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Affected Versions

inventree / InvenTree
< 1.4.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/inventree/InvenTree/security/advisories/GHSA-6pm3-m334-mr4j github.com: https://github.com/inventree/InvenTree/pull/12233 github.com: https://github.com/inventree/InvenTree/commit/f21bc2d06f906838e760d2face15cc50cc9df984 github.com: https://github.com/inventree/InvenTree/releases/tag/1.4.0