Description
InvenTree is an Open Source Inventory Management System. Prior to 1.4.0, ReportPrint at POST /api/report/print/ and LabelPrint at POST /api/report/label/print/ require authentication but do not call users.permissions.check_user_permission for the caller's per-model view role before selecting objects by primary key and rendering them with a chosen template. Because default templates exist for major business models and DataOutput stores the generated artifact for the requesting user, a role-less or unrelated-role account can enumerate object identifiers and download reports containing purchase, sales, part, bill-of-materials, stock, build, supplier, customer, pricing, and inventory data that the corresponding detail APIs would deny. This issue is fixed in version 1.4.0.
Severity (CVSS)
| Base score | 4.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-639 — CWE-639: Authorization Bypass Through User-Controlled Key
- CWE-862 — CWE-862: Missing Authorization
Affected products
| Vendor | Product | Versions |
|---|---|---|
| inventree | InvenTree | < 1.4.0 |
References
- https://github.com/inventree/InvenTree/security/advisories/GHSA-7w96-99fj-8g7x (x_refsource_CONFIRM)
- https://github.com/inventree/InvenTree/pull/12142 (x_refsource_MISC)
- https://github.com/inventree/InvenTree/commit/73bfa53a35f67027132b9ef053d82aef033f7175 (x_refsource_MISC)
- https://github.com/inventree/InvenTree/releases/tag/1.4.0 (x_refsource_MISC)
Generated from the official CVE List on 22 Sep 2026 07:03 UTC.