Remote code execution via exposed vm object reference
Published May 8, 2024 · Updated Jun 10, 2025
Remote code execution in Hoppscotch CLI before 0.8.0 allows attackers to run system commands through a malicious collection file. The pre-request node-vm context assigns the externally created pw object to untrusted JavaScript, which can traverse its constructor and load child_process. Exploitation requires a user to download and run the collection with the CLI; Hoppscotch Web and Desktop are unaffected.
Summary
What happened
Remote code execution in Hoppscotch CLI before 0.8.0 allows attackers to run system commands through a malicious collection file. The pre-request node-vm context assigns the externally created pw object to untrusted JavaScript, which can traverse its constructor and load child_process. Exploitation requires a user to download and run the collection with the CLI; Hoppscotch Web and Desktop are unaffected.
The record
- CVE
- CVE-2024-34347
- Published
- May 8, 2024
- Updated
- Jun 10, 2025
- Vendor
- Hoppscotch
- Product
- Hoppscotch
- Classifications
- CWE-77, T1059.007, T1204.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 8, 2024CVE publishedPublication date reported by the CVE source.
- Jun 10, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 0.5.0, < 0.8.0
- Affected versionversion=0.5.0 <0.8.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Malicious collection pre-request script proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo