CVE-2026-35478: InvenTree has Arbitrary API Token Creation

Published Apr 8, 2026
·
Updated

InvenTree is an Open Source Inventory Management System. From 0.16.0 to before 1.2.7, any authenticated InvenTree user can create a valid API token attributed to any other user in the system — including administrators and superusers — by supplying the target's user ID in the user field of a POST /api/user/tokens/ request. The returned token is immediately usable for full API authentication as the target user, from any network location, with no further interaction required. This vulnerability is fixed in 1.2.7 and 1.3.0.

Affected Software

2 affected components
InvenTree InvenTree>=0.16.0<1.2.7
Inventree Project Inventree>=0.16.0<=1.2.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade InvenTree to a version that resolves this vulnerability.

    Fixed in 1.2.7
  2. Upgrade

    Upgrade InvenTree to a version that resolves this vulnerability.

    Fixed in 1.3.0

Event History

Apr 8, 2026
CVE Published
via MITRE·07:24 PM
Data Sourced
via MITRE·07:24 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-35478?

CVE-2026-35478 is classified as a high severity vulnerability due to the potential for unauthorized API token creation.

2

How do I fix CVE-2026-35478?

To fix CVE-2026-35478, upgrade InvenTree to version 1.2.7 or later, where the vulnerability is addressed.

3

Who is affected by CVE-2026-35478?

Any user of InvenTree versions from 0.16.0 to before 1.2.7 is affected by CVE-2026-35478, enabling the creation of API tokens for other users.

4

What types of users can be affected by CVE-2026-35478?

CVE-2026-35478 affects all authenticated users, including administrators and superusers within the InvenTree system.

5

Can CVE-2026-35478 allow for privilege escalation?

Yes, CVE-2026-35478 allows authenticated users to create API tokens for any other user, potentially leading to privilege escalation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203