---
id: CVE-2026-61744
title: InvenTree is an Open Source Inventory Management System
summary: >-
  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
  IsAuthen…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-639
  - CWE-863
vendor: inventree
product: InvenTree
affected:
  - InvenTree < 1.4.0
published: '2026-09-21'
updated: '2026-09-23'
sourceUpdated: '2026-09-23T18:30:42.573'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-61744'
references:
  - url: >-
      https://github.com/inventree/InvenTree/commit/f21bc2d06f906838e760d2face15cc50cc9df984
    label: security-advisories@github.com
  - url: 'https://github.com/inventree/InvenTree/pull/12233'
    label: security-advisories@github.com
  - url: 'https://github.com/inventree/InvenTree/releases/tag/1.4.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/inventree/InvenTree/security/advisories/GHSA-6pm3-m334-mr4j
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
epss: 0.00511
epssPercentile: 0.41016
ingestedAt: '2026-09-21T19:51:58.859Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
