CVE-2026-51997 Code injection in n/a

High 8.8 Published Updated

Remote attackers can execute arbitrary code via the open() functions in the mcp-remote library, requiring an upgrade to mitigate.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-51997?

CVE-2026-51997 is a high-severity code injection vulnerability in n/a, published on 24 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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 open() functions

Weakness: CWE-94, CWE-918, CWE-20

Which versions are affected by CVE-2026-51997?

How do I fix CVE-2026-51997?

No fix has been published for CVE-2026-51997 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-51997 being exploited?

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

Sources

Also known as GHSA-v65w-6crh-cp3h.

Is CVE-2026-51997 in your software?

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

Check your SBOMs for free