CVE-2026-7811: Path Traversal in 54yyyu code-mcp
CVE-2026-7811 is a path traversal vulnerability in the 54yyyu code-mcp project affecting the is_safe_path function in src/code_mcp/server.py. This vulnerability allows remote attackers to manipulate file paths, potentially accessing unauthorized files. The vulnerability has been publicly disclosed, but the vendor has not yet responded or provided a fix. The project uses rolling releases, so specific affected or fixed versions are not clearly identified. The CVSS 4.0 score rates this issue as medium severity (6.9).
AI Analysis
Technical Summary
The vulnerability exists in the is_safe_path function of the MCP File Handler component in 54yyyu code-mcp up to commit 4cfc4643541a110c906d93635b391bf7e357f4a8. It allows remote attackers to perform path traversal attacks by manipulating file paths, potentially leading to unauthorized file access. The project employs rolling releases, and no official patch or remediation has been published. The issue was reported early but remains unaddressed by the vendor. Exploit details have been publicly disclosed, though no known exploits in the wild have been confirmed.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to access files outside the intended directory structure on the affected system remotely. This could lead to unauthorized disclosure of sensitive information or other impacts depending on the files accessed. The CVSS score of 6.9 indicates a medium severity impact with network attack vector and no privileges or user interaction required.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vendor has not responded and no official fix is available, users should monitor the project repository or vendor communications for updates. Until a fix is released, consider restricting network access to the affected component and applying additional access controls to limit exposure.
CVE-2026-7811: Path Traversal in 54yyyu code-mcp
Description
CVE-2026-7811 is a path traversal vulnerability in the 54yyyu code-mcp project affecting the is_safe_path function in src/code_mcp/server.py. This vulnerability allows remote attackers to manipulate file paths, potentially accessing unauthorized files. The vulnerability has been publicly disclosed, but the vendor has not yet responded or provided a fix. The project uses rolling releases, so specific affected or fixed versions are not clearly identified. The CVSS 4.0 score rates this issue as medium severity (6.9).
CVSS v4.0
Score 6.9medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in the is_safe_path function of the MCP File Handler component in 54yyyu code-mcp up to commit 4cfc4643541a110c906d93635b391bf7e357f4a8. It allows remote attackers to perform path traversal attacks by manipulating file paths, potentially leading to unauthorized file access. The project employs rolling releases, and no official patch or remediation has been published. The issue was reported early but remains unaddressed by the vendor. Exploit details have been publicly disclosed, though no known exploits in the wild have been confirmed.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to access files outside the intended directory structure on the affected system remotely. This could lead to unauthorized disclosure of sensitive information or other impacts depending on the files accessed. The CVSS score of 6.9 indicates a medium severity impact with network attack vector and no privileges or user interaction required.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vendor has not responded and no official fix is available, users should monitor the project repository or vendor communications for updates. Until a fix is released, consider restricting network access to the affected component and applying additional access controls to limit exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-05-04T21:24:12.293Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f97ad1cbff5d8610ab99dc
Added to database: 5/5/2026, 5:06:25 AM
Last enriched: 5/12/2026, 6:27:58 AM
Last updated: 6/19/2026, 3:46:30 PM
Views: 95
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.