CVE-2026-86766

Source
https://cve.org/CVERecord?id=CVE-2026-86766
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-86766.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-86766
Aliases
  • GHSA-x4g2-87xc-m5jm
Published
2026-09-09T13:32:24Z
Modified
2026-09-11T03:48:43Z
Severity
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Snipe-IT 8.6.3 Race Condition via Consumable Checkout
Details

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.

Database specific
{
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-362"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86766.json"
}
References

Affected packages

Git / github.com/grokability/snipe-it

Affected ranges

Type
GIT
Repo
https://github.com/grokability/snipe-it
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "8.6.3"
        },
        {
            "fixed": "8.7.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-86766.json"