Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-7237: Path Traversal in AgiFlow scaffold-mcp

0
Medium
VulnerabilityCVE-2026-7237cvecve-2026-7237
Published: Tue Apr 28 2026 (04/28/2026, 06:45:13 UTC)
Source: CVE Database V5
Vendor/Project: AgiFlow
Product: 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

AILast updated: 04/28/2026, 07:36:46 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses