Skip to main content
VulnerabilityPublished

CVE-2026-39862: Shopify tophat · OS Command Injection

Affects Shopify tophatSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:U

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
ShopifytophatAffected
  • <2.5.1
Fixed in
  • 2.5.1
GitHubshopify/tophatpkg:github/shopify/tophatOther threatsAffected
  • <2.5.1
Fixed in
  • 2.5.1

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.

References

Community reviews

Loading reviews…