CVE-2026-7237: Path Traversal in AgiFlow scaffold-mcp
CVE-2026-7237 is a path traversal vulnerability in the AgiFlow scaffold-mcp component up to version 1. 0. 27. The issue arises from improper handling of the file_path argument in the write-to-file tool, allowing remote attackers to manipulate file paths. Exploitation can lead to unauthorized file access or modification. A public exploit exists. Upgrading to version 1. 1. 0 resolves the vulnerability.
AI Analysis
Technical Summary
This vulnerability in AgiFlow scaffold-mcp (<=1.0.27) involves path traversal due to insufficient validation of the file_path argument in the write-to-file tool component (packages/scaffold-mcp/src/server/index.ts). Remote attackers can exploit this to traverse directories and potentially access or modify files outside intended directories. The vulnerability has a CVSS 4.0 score of 6.9 (medium severity) with network attack vector, low complexity, no privileges or user interaction required, and low impact on confidentiality, integrity, and availability. A patch is available in version 1.1.0 identified by commit c4d23592ae5fb59cfeefc4641e6826f8ac89b9c6.
Potential Impact
Successful exploitation allows remote attackers to perform path traversal attacks, potentially accessing or modifying files beyond the intended scope of the application. This can lead to unauthorized data disclosure or alteration. The CVSS score of 6.9 indicates a medium severity impact with low complexity and no required privileges or user interaction.
Mitigation Recommendations
Upgrade the AgiFlow scaffold-mcp component to version 1.1.0 or later, which contains the official fix for this path traversal vulnerability. This upgrade addresses the issue by properly validating the file_path argument. No other mitigations are indicated or required.
CVE-2026-7237: Path Traversal in AgiFlow scaffold-mcp
Description
CVE-2026-7237 is a path traversal vulnerability in the AgiFlow scaffold-mcp component up to version 1. 0. 27. The issue arises from improper handling of the file_path argument in the write-to-file tool, allowing remote attackers to manipulate file paths. Exploitation can lead to unauthorized file access or modification. A public exploit exists. Upgrading to version 1. 1. 0 resolves the vulnerability.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in AgiFlow scaffold-mcp (<=1.0.27) involves path traversal due to insufficient validation of the file_path argument in the write-to-file tool component (packages/scaffold-mcp/src/server/index.ts). Remote attackers can exploit this to traverse directories and potentially access or modify files outside intended directories. The vulnerability has a CVSS 4.0 score of 6.9 (medium severity) with network attack vector, low complexity, no privileges or user interaction required, and low impact on confidentiality, integrity, and availability. A patch is available in version 1.1.0 identified by commit c4d23592ae5fb59cfeefc4641e6826f8ac89b9c6.
Potential Impact
Successful exploitation allows remote attackers to perform path traversal attacks, potentially accessing or modifying files beyond the intended scope of the application. This can lead to unauthorized data disclosure or alteration. The CVSS score of 6.9 indicates a medium severity impact with low complexity and no required privileges or user interaction.
Mitigation Recommendations
Upgrade the AgiFlow scaffold-mcp component to version 1.1.0 or later, which contains the official fix for this path traversal vulnerability. This upgrade addresses the issue by properly validating the file_path argument. No other mitigations are indicated or required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-04-27T17:17:36.780Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f0602fcbff5d8610cfd2e7
Added to database: 4/28/2026, 7:22:23 AM
Last enriched: 4/28/2026, 7:36:46 AM
Last updated: 4/28/2026, 8:53:27 AM
Views: 5
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.