CVE-2026-7237: Path Traversal in AgiFlow scaffold-mcp
CVE-2026-7237 is a path traversal vulnerability in AgiFlow scaffold-mcp versions up to 1.0.27. The issue arises from improper handling of the file_path argument in the write-to-file tool component, 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 (up to version 1.0.27) involves path traversal caused by manipulation of the file_path argument in the write-to-file tool component (packages/scaffold-mcp/src/server/index.ts). The flaw allows remote attackers to access or write files outside the intended directory. The vulnerability has a CVSS 4.0 score of 6.9 (medium severity). A patch is available in version 1.1.0, identified by commit c4d23592ae5fb59cfeefc4641e6826f8ac89b9c6.
Potential Impact
Successful exploitation can allow remote attackers to traverse directories and potentially read or write arbitrary files on the affected system, leading to unauthorized data access or modification. The vulnerability is remotely exploitable without authentication and has a medium severity rating (CVSS 6.9).
Mitigation Recommendations
Upgrade AgiFlow scaffold-mcp to version 1.1.0 or later, which includes the official fix for this path traversal vulnerability. No other mitigations are specified. Patch status is confirmed by the vendor's version upgrade and associated commit.
CVE-2026-7237: Path Traversal in AgiFlow scaffold-mcp
Description
CVE-2026-7237 is a path traversal vulnerability in AgiFlow scaffold-mcp versions up to 1.0.27. The issue arises from improper handling of the file_path argument in the write-to-file tool component, 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.
CVSS v4.0
Score 6.9medium
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in AgiFlow scaffold-mcp (up to version 1.0.27) involves path traversal caused by manipulation of the file_path argument in the write-to-file tool component (packages/scaffold-mcp/src/server/index.ts). The flaw allows remote attackers to access or write files outside the intended directory. The vulnerability has a CVSS 4.0 score of 6.9 (medium severity). A patch is available in version 1.1.0, identified by commit c4d23592ae5fb59cfeefc4641e6826f8ac89b9c6.
Potential Impact
Successful exploitation can allow remote attackers to traverse directories and potentially read or write arbitrary files on the affected system, leading to unauthorized data access or modification. The vulnerability is remotely exploitable without authentication and has a medium severity rating (CVSS 6.9).
Mitigation Recommendations
Upgrade AgiFlow scaffold-mcp to version 1.1.0 or later, which includes the official fix for this path traversal vulnerability. No other mitigations are specified. Patch status is confirmed by the vendor's version upgrade and associated commit.
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: 5/5/2026, 7:36:54 AM
Last updated: 6/12/2026, 12:18:53 PM
Views: 73
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.