| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-7811 |
| Date (index) | 2026-05-05 |
| Affected product (index) | 54yyyu code-mcp up to 4cfc4643541a110c906d93635b391bf7e357f4a8. |
| GHSA ID | None — no GitHub advisory published (search) |
| OWASP MCP Top 10 (2025) | MCP02 - Privilege Escalation via Scope Creep |
| Published / disclosed | 2026-05-05 |
| Ecosystem | Application / upstream project |
| Component | 54yyyu code-mcp up to 4cfc4643541a110c906d93635b391bf7e357f4a8. |
| EPSS score | 0.005870000 (FIRST EPSS, 2026-09-26) |
| CVSS score | Medium / 5.5 |
| CWE | CWE-22 |
| Affected versions | < 4 |
| Fixed versions | None published in NVD/OSV |
| Fix status | Unfixed |
| Exploit status | Public advisory / public CVE record |
| Notes | Added during 2026-09-07 gap review against NVD, GitHub Advisory Database, OSV, OpenCVE, and related MCP advisory searches. |
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.
Exposure depends on deployment: reachable MCP transports, enabled MCP tools, local listeners without robust Host/Origin/authentication checks, or trusted workspace/project MCP configuration treated as safe input.
The issue maps to CWE-22; review the upstream advisory for the exact vulnerable code path and patched implementation.
This issue affects an MCP server, SDK, gateway, client, integration, or MCP-enabled workflow where tool execution, transport exposure, secrets, files, or authorization boundaries are part of the risk surface.
Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory.
Upgrade to the vendor-fixed version where available. Restrict MCP listeners to trusted networks, require authentication for HTTP/SSE/Streamable HTTP transports, validate Host and Origin headers, constrain filesystem and command-execution tools, and treat project/workspace MCP configuration as untrusted input.
Prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.