原始描述
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.
受影响的软件
- Inventree * 仓库或软件包匹配
详情
- 发布日期
- 2026-09-22
- 最后修改
- 2026-09-30
- CVSS 向量
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N- CWE
- CWE-639, CWE-863
- EPSS(30 天内被利用概率)
- 0.51% (百分位 44)
参考资料
- cve.org/CVE-2026-61744
- nvd.nist.gov/vuln/detail/CVE-2026-61744
- github.com/inventree/InvenTree/security/advisories/GHSA-6pm3-m334-mr4j
- github.com/inventree/InvenTree/pull/12233
- github.com/inventree/InvenTree/commit/f21bc2d06f906838e760d2face15cc50cc9df984
- github.com/inventree/InvenTree/releases/tag/1.4.0
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。