CVE-2026-81486

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

Published Aug 27, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability arises from improper path handling in the read_context function the Path Resolution component in bsmi021 mcp-file-context-server. An attacker can manipulate the path argument to trigger directory traversal, allowing access to arbitrary files on the server. The flaw is exploitable remotely and has been publicly demonstrated, creating a confidentiality risk if the attacker can read sensitive files.

Affected Systems

The affected product is bsmi021 mcp-file-context-server, version 1.0.0. No other versions have been identified as vulnerable, and the project has not addressed the issue yet.

Risk and Exploitability

The CVSS score of 6.9 denotes moderate severity. The exploit is publicly available and can be invoked using a crafted request to the read_context endpoint, meaning a remote attacker could read arbitrary files. The project is not listed in the CISA KEV catalog, and the EPSS score is not available, but the public nature of the exploit suggests a non-negligible risk as long as unpatched deployments exist.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a patched release that validates the path argument to prevent traversal.
  • If a patch is not available, disable the read_context endpoint or restrict its use to authenticated and authorized callers.
  • Implement server-side path normalization to reject traversal sequences such as '..' before accessing the filesystem.
  • Apply network segmentation or firewall rules to limit external exposure of the vulnerable endpoint.

Generated by OpenCVE AI on August 27, 2026 at 03:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title bsmi021 mcp-file-context-server Path Resolution index.ts read_context path traversal
First Time appeared Bsmi021
Bsmi021 mcp-file-context-server
Weaknesses CWE-22
CPEs cpe:2.3:a:bsmi021:mcp-file-context-server:*:*:*:*:*:*:*:*
Vendors & Products Bsmi021
Bsmi021 mcp-file-context-server
References
Metrics cvssV2_0

{'score': 5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:N/A:N/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Aug 27, 2026, 2:42 PM
Reserved
Aug 26, 2026, 8:19 PM
Status
Deferred
Published
Aug 27, 2026, 2:16 AM
Modified
Aug 28, 2026, 3:09 PM