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 no official fix or patch has been released yet. The project uses rolling releases, so specific fixed versions are not available. The vulnerability has a medium severity with a CVSS score of 6. 9. No known exploits are currently reported in the wild.
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 was notified early but has not responded or provided a patch. Due to the rolling release model, affected and fixed version details are not available. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges or user interaction required, with low to limited confidentiality, integrity, and availability impacts.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to access files outside the intended directory structure remotely, potentially exposing sensitive information or enabling further attacks. The impact is rated medium based on the CVSS score of 6.9, reflecting limited confidentiality, integrity, and availability impacts.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vendor has not responded or released a fix, users should monitor the project repository or issue tracker for updates. In the meantime, consider implementing network-level controls to restrict access to the affected component and validate or sanitize file path inputs where possible.
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 no official fix or patch has been released yet. The project uses rolling releases, so specific fixed versions are not available. The vulnerability has a medium severity with a CVSS score of 6. 9. No known exploits are currently reported in the wild.
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 was notified early but has not responded or provided a patch. Due to the rolling release model, affected and fixed version details are not available. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges or user interaction required, with low to limited confidentiality, integrity, and availability impacts.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to access files outside the intended directory structure remotely, potentially exposing sensitive information or enabling further attacks. The impact is rated medium based on the CVSS score of 6.9, reflecting limited confidentiality, integrity, and availability impacts.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vendor has not responded or released a fix, users should monitor the project repository or issue tracker for updates. In the meantime, consider implementing network-level controls to restrict access to the affected component and validate or sanitize file path inputs where possible.
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/5/2026, 5:21:36 AM
Last updated: 5/5/2026, 6:12:30 AM
Views: 2
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.