CVE-2026-81486 bsmi021 mcp-file-context-server Path Resolution index.ts read_context path traversal

Medium 6.9 Published Updated

Attackers can exploit path traversal in the read_context function to read arbitrary files from the server.

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-81486?

CVE-2026-81486 is a medium-severity path traversal vulnerability in bsmi021 mcp-file-context-server, published on 27 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was detected in bsmi021 mcp-file-context-server 1.0.0. Affected by this issue is the function read_context of the file src/index.ts of the component Path Resolution. Performing a manipulation of the argument path results in path traversal. It is possible to initiate the attack remotely. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Weakness: CWE-22

Which versions are affected by CVE-2026-81486?

How do I fix CVE-2026-81486?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-81486 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-81486 exists.

Sources

Also known as GHSA-r93x-r7qx-vp33.

Is CVE-2026-81486 in your software?

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

Check your SBOMs for free