CVE-2026-51996 Code injection in n/a

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code in the mcp-remote library via the getServerUrlHash function, requiring an upgrade to secure the application.

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

What is CVE-2026-51996?

CVE-2026-51996 is a critical code injection vulnerability in n/a, published on 24 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue in geelen mcp-remote 0.1.16 through 0.1.38 allows a remote attacker to execute arbitrary code via the src/lib/utils.ts and the getServerUrlHash function

Weakness: CWE-328

Which versions are affected by CVE-2026-51996?

How do I fix CVE-2026-51996?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-51996 being exploited?

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

Sources

Also known as GHSA-mvq8-g2rm-4rhm.

Is CVE-2026-51996 in your software?

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

Check your SBOMs for free