Arbitrary Command Injection Affecting ngrok package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.98% (58th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-NGROK-17363059
  • published17 Jun 2026
  • disclosed18 May 2026
  • creditUnknown

Introduced: 18 May 2026

CVE-2025-57282  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

There is no fixed version for ngrok.

Overview

ngrok is a node wrapper for ngrok

Affected versions of this package are vulnerable to Arbitrary Command Injection via unsanitized input passed to the getVersion() function. An attacker can execute arbitrary system commands by supplying crafted input.

CVSS Base Scores

version 4.0
version 3.1