AgiFlow scaffold-mcp write-to-file Tool index.ts path traversal
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| AgiFlow | scaffold-mcp | 1.0.0; 1.0.1; 1.0.2; 1.0.3; 1.0.4; 1.0.5; 1.0.6; 1.0.7; 1.0.8; 1.0.9; 1.0.10; 1.0.11; 1.0.12; 1.0.13; 1.0.14; 1.0.15; 1.0.16; 1.0.17; 1.0.18; 1.0.19; 1.0.20; 1.0.21; 1.0.22; 1.0.23; 1.0.24; 1.0.25; 1.0.26; 1.0.27 | 1.1.0 | Patch available | CNA |
- scaffold-mcp VendorAgiFlow Affected 1.0.0; 1.0.1; 1.0.2; 1.0.3; 1.0.4; 1.0.5; 1.0.6; 1.0.7; 1.0.8; 1.0.9; 1.0.10; 1.0.11; 1.0.12; 1.0.13; 1.0.14; 1.0.15; 1.0.16; 1.0.17; 1.0.18; 1.0.19; 1.0.20; 1.0.21; 1.0.22; 1.0.23; 1.0.24; 1.0.25; 1.0.26; 1.0.27 Fixed in 1.1.0 Patch available CNA
Remediation
- Fix · CNA scaffold-mcp (AgiFlow) Fixed in 1.1.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-7237
- 2026-10-03 Alias added: GHSA-78xp-7865-cjx8
References
Sources
- CVE-2026-7237 · CVE Program
- CVE-2026-7237 · NVD
- FIRST EPSS
- GHSA-78xp-7865-cjx8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences