Read the docs
TI-2026-28743 Aliases CVE-2026-39862

Tophat has a Command Injection Vulnerability When Accessing a Maliciously Crafted Tophat Link

Priority LOW 31CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.

Summary

Tophat is a mobile applications testing harness. Prior to 2.5.1, Tophat is affected by remote code execution via crafted tophat:// or http://localhost:29070 URLs. The arguments query parameter flows unsanitized from URL parsing through to /bin/bash -c execution, allowing an attacker to execute arbitrary commands on a developer's macOS workstation. Any developer with Tophat installed is vulnerable. For previously trusted build hosts, no confirmation dialog appears. Attacker commands run with the user's permissions. This vulnerability is fixed in 2.5.1.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00577 47th percentileScored 2026-11-07
Fix Fixed tophat (Shopify): 2.5.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
remix-runtophatbefore 2.5.12.5.1Patch availableCNA
  • tophat Vendorremix-run Affected before 2.5.1 Fixed in 2.5.1 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:shopify:tophat:*:*:*:*:*:*:*:*before 2.5.1Vulnerableremix-run
  • cpe:2.3:a:shopify:tophat:*:*:*:*:*:*:*:* Versions before 2.5.1 Vulnerable ·remix-run

Remediation

  • Fix · CNA tophat (Shopify) Fixed in 2.5.1

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-39862
  2. 2026-10-25 EPSS moved to the below the 50th percentile

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences