CVE-2026-39862: Tophat is a mobile applications testing harness
CVE-2026-39862 is a high-severity flaw (CVSS 8.8) affecting tophat. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 confirmati
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 54%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2026-04-08 |
| Last modified | 2026-07-24 |
Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-39862?
tophat: upgrade to 2.5.1. Exact commands for each OS are on this page.
Is CVE-2026-39862 being exploited?
CVE-2026-39862 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-39862 affect?
CVE-2026-39862 affects tophat. Severity is high (CVSS 8.8). 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 /
How urgent is CVE-2026-39862?
Priority 42/100. High severity
Software pages
macOS vulnerabilities · Shopify vulnerabilities