CyberRota Analysis
AI-GeneratedSnipe-IT versions up to and including 8.6.3 are vulnerable to a race condition in the consumable checkout API, allowing authenticated users to exploit concurrent checkout requests and over-allocate stock, potentially resulting in negative inventory levels. This vulnerability poses a medium severity risk, particularly for organizations relying on accurate inventory management. Users of affected versions should prioritize upgrading to version 8.7.0 or later to mitigate this issue.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Snipe-IT versions up to and including 8.6.3 contain a race condition (TOCTOU) in the consumable checkout API endpoint (POST /api/v1/consumables/{consumable_id}/checkout). The requested quantity is validated against the number of remaining units before the database transaction begins, and the transaction then creates the checkout records without locking the consumable row or re-checking availability. An authenticated user with permission to check out consumables can submit concurrent checkout requests for the same consumable so that both requests pass the availability check and succeed, over-allocating stock and driving the remaining inventory negative (e.g., a consumable with 1 remaining unit ends at -1 after two concurrent 1-unit checkouts). The issue is fixed in 8.7.0, which re-fetches the parent row under lockForUpdate inside the transaction and re-validates availability.