Snipe-IT through 8.6.3 does not neutralize formula elements in the "unaccepted assets" acceptance...
🔗 CVE IDs covered (1)
📋 Description
Snipe-IT through 8.6.3 does not neutralize formula elements in the "unaccepted assets" acceptance report CSV export. ReportsController::postAssetAcceptanceReport builds the CSV by hand (stripping commas and joining rows manually) and, unlike the six sibling exports in the same controller, never applies League\Csv\EscapeFormula or honors the config('app.escape_formulas') setting. An authenticated low-privilege user with ordinary create/edit rights on any record whose free-text fields appear in the report (asset name/tag, company name, category, model, or assignee display name) can set such a field to a value beginning with =, +, -, @, tab, or CR. When a user with reports.view privileges requests the export (POST /reports/unaccepted_assets) for a pending checkout acceptance referencing the poisoned record and opens the resulting CSV in Excel, LibreOffice Calc, or Google Sheets, the injected content is evaluated as a formula in the downloader's spreadsheet context, enabling data exfiltration (e.g., HYPERLINK/WEBSERVICE) or, on legacy Windows Excel configurations, DDE command execution. Fixed in 8.7.0.
🔗 References (5)
- https://github.com/grokability/snipe-it/security/advisories/GHSA-w4xq-9p85-4qmv
- https://nvd.nist.gov/vuln/detail/CVE-2026-86742
- https://github.com/grokability/snipe-it/commit/6976f1215444bcfeda50975a5673e8422bcab4bb
- https://www.vulncheck.com/advisories/snipe-it-before-8.7.0-csv-formula-injection-via-asset-acceptance-report
- https://github.com/advisories/GHSA-xg25-jhxx-cv5q