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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-09-21T18:45:38.373Z
- Modified: 2026-09-29T16:17:09.210Z
- Weaknesses: CWE-639, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- inventree InvenTree: < 1.4.0

## References

- <https://github.com/inventree/InvenTree/security/advisories/GHSA-6pm3-m334-mr4j>
- <https://github.com/inventree/InvenTree/pull/12233>
- <https://github.com/inventree/InvenTree/commit/f21bc2d06f906838e760d2face15cc50cc9df984>
- <https://github.com/inventree/InvenTree/releases/tag/1.4.0>

## Sources

- CVE List: [CVE-2026-61744](https://www.cve.org/CVERecord?id=CVE-2026-61744), CVE Terms of Use, modified 2026-09-29
- NVD: [CVE-2026-61744](https://nvd.nist.gov/vuln/detail/CVE-2026-61744), Public domain, modified 2026-09-29

---

Page: https://cve.day/CVE-2026-61744 · Whole record: https://cve.day/CVE-2026-61744.json · Rebuilt by cve.day 2026-11-25T22:59:40.367Z
