CVE-2026-86733 Snipe-IT before 8.7.0 Remote Code Execution via Backup Restore
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- MySQLMariaDB
Description
Snipe-IT before 8.7.0 streams the SQL entry from an uploaded backup archive directly into the MySQL/MariaDB command-line client (mysql) without the --binary-mode flag, so the client interprets lines beginning with backslash commands such as \! as local shell commands. An authenticated superadministrator who uploads a crafted ZIP backup (POST /admin/backups/upload) and triggers a restore (POST /admin/backups/restore/{filename}) without the optional clean sanitizer parameter — which is not applied by default because DB_SANITIZE_BY_DEFAULT is false — can execute arbitrary OS commands as the web application's operating-system user, exposing application secrets (including database credentials and APP_KEY) and allowing modification of application-writable files and data. Version 8.7.0 adds the --binary-mode flag to the client invocation.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| grokability snipe-it | < 8.7.0 | 8.7.0 | Fixed |
| snipeitapp snipe-it | < 8.7.0 | 8.7.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| grokability snipe-it | < 8.7.0 | 8.7.0 |
| snipeitapp snipe-it | < 8.7.0 | 8.7.0 |
References
- GitHub Security Advisory (GHSA-x53f-48vj-c5fc) mitigation vendor-advisory
- VulnCheck Advisory: Snipe-IT before 8.7.0 Remote Code Execution via Backup Restore third-party-advisory
- ENISA EUVD EUVD-2026-72869 third-party-advisory