CVE-2026-7237: AgiFlow scaffold-mcp · Path Traversal
Affects AgiFlow scaffold-mcpSource CVE Database V5
Public exploit available · CVSS 6.9 Medium.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 28 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| AgiFlowscaffold-mcp | Affected
| Fixed in– |
npm@agiflowai/aicode-toolkitpkg:npm/@agiflowai/aicode-toolkitOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
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.
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.
References
- vuldb.com/vuln/359845 (opens in a new tab)
- vuldb.com/vuln/359845/cti (opens in a new tab)
- vuldb.com/submit/802836 (opens in a new tab)
- github.com/AgiFlow/aicode-toolkit/issues/88 (opens in a new tab)
- github.com/AgiFlow/aicode-toolkit/pull/89 (opens in a new tab)
- github.com/AgiFlow/aicode-toolkit/commit/c4d23592ae5fb59cfeefc4641e6826f8ac89b9c6 (opens in a new tab)
- github.com/AgiFlow/aicode-toolkit/releases/tag/%40agiflowai/aicode-toolkit%401.1.0 (opens in a new tab)