BreachSpiderVerified, not vibes

CVE-2026-7811 in Element products

High 7.3

A vulnerability has been found in 54yyyu code-mcp up to 4cfc4643541a110c906d93635b391bf7e357f4a8. The affected element is the function is_safe_path of the file src/code_mcp/server.py of the component MCP File Handler. Such manipulation leads to path traversal. It is possible to launch the attack remotely. The exploi...

Affects 0 products from 3 vendors. Facts below cite their sources.

CVSS 3.17.3
CVSS v45.5
EPSS0.6%
EPSS percentile42th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component.

Affected products and versions

VendorProductAffected versions
Element — —
Project — —
Takes — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

A vulnerability has been found in 54yyyu code-mcp up to 4cfc4643541a110c906d93635b391bf7e357f4a8. The affected element is the function is_safe_path of the file src/code_mcp/server.py of the component MCP File Handler. Such manipulation leads to path traversal. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. This product takes the approach of rolling releases to provide continious delivery. Therefore, version details for affected and updated releases are not available. The project was informed of the problem early through an issue report but has not responded yet.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-7811
BreachSpider IDBS-2026-GLOBAL-270788-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Published2026-05-05
Last modified2026-10-26
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-22: Path Traversal

Attacker manipulates file path inputs to access files outside the intended directory.

Related attack patterns (CAPEC)

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22

CAPEC-76 Manipulating Web Input to File System Calls via CWE-22

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22

CAPEC-79 Using Slashes in Alternate Encoding via CWE-22

CAPEC-126 Path Traversal via CWE-22

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A path traversal vulnerability exists in the MCP File Handler component of 54yyyu code-mcp up to commit 4cfc4643541a110c906d93635b391bf7e357f4a8, affecting the function is_safe_path in src/code_mcp/server.py. This vulnerability could allow remote attackers to access arbitrary files on the server.

The vulnerability is due to improper validation of user-supplied input in the is_safe_path function, which is intended to prevent path traversal attacks. An attacker can exploit this by providing a specially crafted path that bypasses the intended checks, leading to unauthorized access to files on the server.

Questions

What is CVE-2026-7811?

A path traversal vulnerability exists in the MCP File Handler component of 54yyyu code-mcp up to commit 4cfc4643541a110c906d93635b391bf7e357f4a8, affecting the function is_safe_path in src/code_mcp/server.py. This vulnerability could allow remote attackers to access arbitrary files on the server.

What is the CVSS score for CVE-2026-7811?

CVE-2026-7811 has CVSS 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L. EPSS: 0.6%.

Is CVE-2026-7811 actively exploited?

No confirmed active exploitation of CVE-2026-7811 as of 2026-11-03.

How do I remediate CVE-2026-7811?

Priority: IMMEDIATE.

What systems are affected by CVE-2026-7811?

CVE-2026-7811 affects Element; Project; Takes.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Element","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.