CVE Explorer
CVE-2026-39862
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"tophat","vendor":"Shopify","versions":[{"status":"affected","version":"< 2.5.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:5e4773d89c39c9a5fc9ef35647325e9c848650e8a0bdda80429427cfcd5bb7f5 · sha256:dbee58ac423df6e5… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.3,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:5e4773d89c39c9a5fc9ef35647325e9c848650e8a0bdda80429427cfcd5bb7f5 · sha256:dbee58ac423df6e5… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5e4773d89c39c9a5fc9ef35647325e9c848650e8a0bdda80429427cfcd5bb7f5 · sha256:dbee58ac423df6e5… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/Shopify/tophat/pull/139","tags":["x_refsource_MISC"],"url":"https://github.com/Shopify/tophat/pull/139"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5e4773d89c39c9a5fc9ef35647325e9c848650e8a0bdda80429427cfcd5bb7f5 · sha256:dbee58ac423df6e5… · /containers/cna/references/1
{"name":"https://github.com/Shopify/tophat/security/advisories/GHSA-8x8g-6rv5-mgg2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/Shopify/tophat/security/advisories/GHSA-8x8g-6rv5-mgg2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5e4773d89c39c9a5fc9ef35647325e9c848650e8a0bdda80429427cfcd5bb7f5 · sha256:dbee58ac423df6e5… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.