Read the docs
TI-2024-22688 Aliases CVE-2024-34347GHSA-qmmm-73r2-f8xr

@hoppscotch/cli affected by Sandbox Escape in @hoppscotch/js-sandbox leads to RCE

Priority HIGH 72CWE-77Published · Updated

Key facts

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

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-77.

Summary

@hoppscotch/cli is a CLI to run Hoppscotch Test Scripts in CI environments. Prior to 0.8.0, the @hoppscotch/js-sandbox package provides a Javascript sandbox that uses the Node.js vm module. However, the vm module is not safe for sandboxing untrusted Javascript code. This is because code inside the vm context can break out if it can get a hold of any reference to an object created outside of the vm. In the case of @hoppscotch/js-sandbox, multiple references to external objects are passed into the vm context to allow pre-request scripts interactions with environment variables and more. But this also allows the pre-request script to escape the sandbox. This vulnerability is fixed in 0.8.0.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00616 49th percentileScored 2026-11-07
Fix Fixed hoppscotch (hoppscotch): 0.8.0@hoppscotch/cli (npm): 0.8.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
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
hoppscotchhoppscotch0.5.0 to before 0.8.00.8.0Patch availableCNA
—@hoppscotch/cli (npm)0.5.0 to before 0.8.00.8.0Patch availableGHSA-qmmm-73r2-f8xr
  • hoppscotch Vendorhoppscotch Affected 0.5.0 to before 0.8.0 Fixed in 0.8.0 Patch available CNA
  • @hoppscotch/cli (npm) Vendor— Affected 0.5.0 to before 0.8.0 Fixed in 0.8.0 Patch available GHSA-qmmm-73r2-f8xr

CPE names CISA-ADP · 1

CPEVersionsRoleVendor
cpe:2.3:a:hoppscotch:hoppscotch:*:*:*:*:*:*:*:*——hoppscotch
  • cpe:2.3:a:hoppscotch:hoppscotch:*:*:*:*:*:*:*:* Versions — — ·hoppscotch

Remediation

  • Fix · CNA hoppscotch (hoppscotch) Fixed in 0.8.0
  • Fix · GHSA-qmmm-73r2-f8xr @hoppscotch/cli (npm) Fixed in 0.8.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-34347
  2. 2026-10-03 Alias added: GHSA-qmmm-73r2-f8xr

References

  • TI-2026-36924 Mass Assignment via Onboarding Endpoint Allows Unauthenticated JWT_SECRET Overwrite CVSS 3.1CRITICAL 10.0
  • TI-2023-16943 Database password exposed in logs in hoppscotch CVSS 3.1HIGH 8.8
  • TI-2026-42590 Hoppscotch: Insecure Default Configuration Allows Public Exposure of Private Collection Data via Mock Server CVSS 3.1HIGH 7.5
  • TI-2026-32417 hoppscotch: Unauthenticated Onboarding Config Disclosure via Empty Recovery Token CVSS 3.1HIGH 7.5
  • TI-2026-27155 hoppscotch: Improper loopback redirect_uri validation in device-login flow CVSS 4.0HIGH 8.5
  • TI-2026-22551 hoppscotch has IDOR in updateUserEnvironment / deleteUserEnvironment CVSS 3.1HIGH 8.3
See all 17 →

Sources