All vulnerabilities

Servers and applications

GHSA-r7wf-qq4r-q98w

Custom Asset report CSV export writes the unescaped custom-field name into the header row, enabling CSV formula injection

Severity
Medium 6.5
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
20 Nov 2026
Fixed in
8.8.0
Weakness
CSV injection (CWE-1236)
Attack
Over the network · Needs a user account · Needs someone to click or open something
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Sources
Project advisories (GitHub)

Description

The Custom Asset report CSV export in app/Http/Controllers/ReportsController.php (postCustom) builds the header row of the downloaded file by appending each selected custom field's display name verbatim, then writes the header with fputcsv($handle, $header) without any formula escaping. A user who holds the granular customfields permission can name a custom field with a leading spreadsheet formula character (for example =cmd|'/c calc.exe'!A1). When an operator with the reports.view permission generates a Custom Asset report that includes that field's column and opens the resulting CSV in Excel, LibreOffice Calc, or Google Sheets, the header cell is evaluated as a formula on the operator's workstation. The data rows of the same export are formula-escaped; only the header is not.

The security invariant is that no attacker-controlled value written to an exported CSV may be interpreted as a formula by a spreadsheet client.

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