CVE-2026-39862 | Shopify tophat up to 2.5.0 URL Parser /bin/bash os command injection (GHSA-8x8g-6rv5-mgg2)
VulDBArchived Apr 09, 2026✓ Full text saved
A vulnerability identified as critical has been detected in Shopify tophat up to 2.5.0 . This vulnerability affects unknown code of the file /bin/bash of the component URL Parser . This manipulation causes os command injection. This vulnerability is handled as CVE-2026-39862 . The attack can be initiated remotely. There is not any exploit available. You should upgrade the affected component.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-356492 · CVE-2026-39862 · GHSA-8X8G-6RV5-MGG2
SHOPIFY TOPHAT UP TO 2.5.0 URL PARSER /BIN/BASH OS COMMAND INJECTION
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
6.0 $0-$5k 1.33+
Summaryinfo
A vulnerability labeled as critical has been found in Shopify tophat up to 2.5.0. This issue affects some unknown processing of the file /bin/bash of the component URL Parser. Such manipulation leads to os command injection. This vulnerability is uniquely identified as CVE-2026-39862. The attack can be launched remotely. No exploit exists. The affected component should be upgraded.
Detailsinfo
A vulnerability, which was classified as critical, has been found in Shopify tophat up to 2.5.0. Affected by this issue is an unknown part of the file /bin/bash of the component URL Parser. The manipulation with an unknown input leads to a os command injection vulnerability. Using CWE to declare the problem leads to CWE-78. The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. CVE summarizes:
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.
The advisory is shared for download at github.com. This vulnerability is handled as CVE-2026-39862 since 04/07/2026. The exploitation is known to be easy. The attack may be launched remotely. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1202.
Upgrading to version 2.5.1 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Productinfo
Vendor
Shopify
Name
tophat
Version
2.0
2.1
2.2
2.3
2.4
2.5.0
Website
Product: https://github.com/Shopify/tophat/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3info
VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 6.0
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Os command injection
CWE: CWE-78 / CWE-77 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: tophat 2.5.1
Patch: github.com
Timelineinfo
04/07/2026 CVE reserved
04/09/2026 +2 days Advisory disclosed
04/09/2026 +0 days VulDB entry created
04/09/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-8x8g-6rv5-mgg2
Status: Confirmed
CVE: CVE-2026-39862 (🔒)
GCVE (CVE): GCVE-0-2026-39862
GCVE (VulDB): GCVE-100-356492
Entryinfo
Created: 04/09/2026 02:50
Changes: 04/09/2026 02:50 (71)
Complete: 🔍
Cache ID: 99:9F1:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸