CVE-2026-39862: Shopify tophat · OS Command Injection
Affects Shopify tophatSource CVE Database V5
Not known to be exploited · CVSS 6.3 Medium : upgrade to 2.5.1 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.5.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:UExploitation evidence
Disclosed: evidence found.
CVE published 8 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade tophat and shopify/tophat to 2.5.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Shopifytophat | Affected
| Fixed in
|
GitHubshopify/tophatpkg:github/shopify/tophatOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
This vulnerability is fixed in Tophat version 2.5.1. Users should upgrade to version 2.5.1 or later to remediate this issue. Since this is not a cloud service, remediation requires updating the installed software. Patch status is not explicitly confirmed in the vendor advisory, but the description states the issue is fixed in 2.5.1. No additional mitigations are specified.
Description
CVE-2026-39862 is an OS command injection vulnerability in Shopify's Tophat mobile application testing harness versions prior to 2.5.1. The vulnerability allows remote code execution via crafted tophat:// or http://localhost:29070 URLs, where the arguments query parameter is unsanitized and passed directly to a bash shell command. This enables an attacker to execute arbitrary commands on a developer's macOS workstation with the user's permissions, without any confirmation dialog for previously trusted build hosts. The issue is fixed in version 2.5.1.