All vulnerabilities

Servers and applications

GHSA-vf6q-3mvj-r5c6

Race on checkout acceptance finalization lets an attacker double-fire their own decline and remove an older, unrelated accessory checkout record

Severity
Medium 6.5
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
8.8.1
Weakness
Race condition (CWE-362)Time-of-check time-of-use race condition (CWE-367)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Sources
Project advisories (GitHub)

Description

AcceptanceController::store on POST /account/accept/{acceptance} checked $acceptance->isPending() and then ran the finalization side effects without a row lock, transaction, or compare-and-set guard. Two overlapping requests from the attacker (the assignee of their own pending acceptance) both observed the acceptance as pending, both executed CheckoutAcceptance::decline(), and each decline invoked Accessory::declinedCheckout() which deletes the latest matching AccessoryCheckout row for that user and accessory with no binding to the specific acceptance. The second stale decline therefore removed an older, legitimate accessory checkout that was never associated with the finalized acceptance.

CheckoutAcceptance::accept() and decline() in app/Models/CheckoutAcceptance.php ran as:

Unconditional save with no WHERE guard on the current state. Two independently loaded instances of the same row both see accepted_at IS NULL AND declined_at IS NULL, both run save(), and both call…

From grokability/snipe-it's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Snipe-ITServers and applications · github:grokability/snipe-it
  • From 6.2.0 before 8.8.1

About Snipe-IT

A free open source IT asset/license management system

From its GitHub repository.
Docker Hub pulls
30,202,208Docker Hub, 29 Nov 2026
GitHub stars
15,283GitHub, 29 Nov 2026
Forks
4,089GitHub, 29 Nov 2026
Latest release
v8.8.4GitHub, 29 Nov 2026
Released
20 Nov 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
12 Nov 2013GitHub

References