Skip to content

CSV formula injection in Activity Report export

Moderate
snipe published GHSA-whrx-mmgr-gpcf Jun 24, 2026

Package

No package listed

Affected versions

=<8.6.1

Patched versions

8.6.2

Description

Impact

In Snipe-IT v8.6.1 and lower, Actionlog::logaction() stores the request User-Agent header in user_agent. That value is later included in the Activity Report CSV export by ReportsController::postActivityReport() and written with plain fputcsv().

A low-privileged authenticated user can set a formula-like User-Agent, perform a logged action, and have that value stored in the activity log. If an admin or report viewer later exports the Activity Report and opens it in spreadsheet software, the formula may execute.

Example payload:

User-Agent: =HYPERLINK("https://example.com/","click")

Patches

Patched in 7b7d2c8

Severity

Moderate

CVE ID

CVE-2026-55452

Weaknesses

No CWEs

Credits