Skip to main content

Authorization Bypass Through User-Controlled Key

CVE-2026-35478

Severity High
Score 8.1/10

Summary

InvenTree is an open-source inventory management system. From 0.16.0 prior to 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 user's 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.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • LOW
  • HIGH
  • NONE

CWE-639 - Authorization Bypass Through User-Controlled Key

The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.

References

Advisory Timeline

  • Published