CVE-2025-57282 ngrok is Vulnerable to Command Injection

High 8.8 Published Updated

Attackers can execute arbitrary commands on systems running ngrok, potentially compromising the host environment.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-57282?

CVE-2025-57282 is a high-severity command injection vulnerability in n/a, published on 18 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

ngrok v4.3.3 and 5.0.0-beta.2 is vulnerable to Command Injection.

Weakness: CWE-77

Which versions are affected by CVE-2025-57282?

2 open source packages ship an affected version, including ngrok.

PackageAffectedFixed in
ngrok npmAll versionsNone
ngrok npmAll versionsNone

How do I fix CVE-2025-57282?

No fix has been published for CVE-2025-57282 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-57282 being exploited?

There is no known exploitation of CVE-2025-57282 in the wild and no public exploit code.

Sources

Also known as GHSA-qr28-p3wr-mxq3.

Is CVE-2025-57282 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free