All vulnerabilities

Servers and applications

GHSA-wq64-46j7-h5vr

User CSV importer stores avatar path without basename, enabling cross-directory file deletion in public uploads

Severity
Medium 5.4
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
20 Nov 2026
Fixed in
8.8.0
Weakness
Path traversal (CWE-22)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change some data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Sources
Project advisories (GitHub)

Description

Snipe-IT's User CSV importer stores the avatar column value verbatim, without applying basename() or any path sanitization, unlike the sibling asset and accessory importers whose image field was hardened against path traversal. Any authenticated user who holds the grantable import permission can import a User row (in update mode, matched by username to their own account) whose avatar cell contains a relative traversal string such as ../barcodes/target.png. The poisoned value persists to the users.avatar column. When that user then saves their own profile via POST /account/profile, the value is concatenated into a storage key and passed to Storage::disk('public')->delete(), deleting a file the attacker does not own from a different directory inside the public uploads tree. The result is a repeatable cross-directory file deletion primitive reachable entirely through self-service actions.

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
  • Every version before 8.8.0

About Snipe-IT

A free open source IT asset/license management system

From its GitHub repository.
Docker Hub pulls
29,869,543Docker Hub, 15 Nov 2026
GitHub stars
15,189GitHub, 15 Nov 2026
Forks
4,068GitHub, 15 Nov 2026
Latest release
v8.8.3GitHub, 15 Nov 2026
Released
22 Oct 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
12 Nov 2013GitHub

References