CVE-2026-7237
AgiFlow scaffold-mcp write-to-file Tool index.ts path traversal
Vexday Risk Score
33Attention
SSVC decision (CISA)
Attend
PoC available → attend closely
Exploit maturity
Proof of concept
Public proof of concept exists, but not yet automated.
CVSS 6.9EPSS 0.4%KEV nãoPoC públicaNuclei —Metasploit —Patch referenciado
Lifecycle
28 Apr 2026Published on NVD
Recommendation: Plan a near-term fix — a public PoC already exists.
A vulnerability was detected in AgiFlow scaffold-mcp up to 1.0.27. Affected by this issue is some unknown functionality of the file packages/scaffold-mcp/src/server/index.ts of the component write-to-file Tool. The manipulation of the argument file_path results in path traversal. The attack may be launched remotely. The exploit is now public and may be used. Upgrading to version 1.1.0 can resolve this issue. The patch is identified as c4d23592ae5fb59cfeefc4641e6826f8ac89b9c6. You should upgrade the affected component.
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:P
Affected products
AgiFlow · scaffold-mcppublic PoCs found — 1
cve_referencegithub.com/AgiFlow/aicode-toolkit/issues/88unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
References
https://github.com/AgiFlow/aicode-toolkit/commit/c4d23592ae5fb59cfeefc4641e6826f8ac89b9c6https://github.com/AgiFlow/aicode-toolkit/issues/88https://github.com/AgiFlow/aicode-toolkit/pull/89https://github.com/AgiFlow/aicode-toolkit/releases/tag/%40agiflowai/aicode-toolkit%401.1.0https://vuldb.com/submit/802836https://vuldb.com/vuln/359845https://vuldb.com/vuln/359845/cti