Vulnerability · Published May 5, 2026 · Assigned by VulDB
CVE-2026-781154yyyu code-mcp MCP File server.py is_safe_path path traversal
High 7.3
In plain English
A high-severity path traversal in code-mcp from 54yyyu. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities).
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.
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-361071 | 54yyyu code-mcp MCP File server.py is_safe_path path traversal vdb-entry, technical-description
- VDB-361071 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #807751 | 54yyyu code-mcp 4cfc4643541a110c906d93635b391bf7e357f4a8 Path Traversal third-party-advisory
- https://github.com/54yyyu/code-mcp/issues/4 exploit, issue-tracking
- https://github.com/54yyyu/code-mcp/ product