CVE-2026-7237
published medium CVSS 4.0 · 6.9AgiFlow scaffold-mcp write-to-file Tool index.ts path traversal
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AgiFlow | — | scaffold-mcp1.0.0 (affected) · 1.0.1 (affected) · 1.0.2 (affected) · 1.0.3 (affected) · 1.0.4 (affected) · 1.0.5 (affected) · 1.0.6 (affected) · 1.0.7 (affected) · 1.0.8 (affected) · 1.0.9 (affected) · 1.0.10 (affected) · 1.0.11 (affected) · 1.0.12 (affected) · 1.0.13 (affected) · 1.0.14 (affected) · 1.0.15 (affected) · 1.0.16 (affected) · 1.0.17 (affected) · 1.0.18 (affected) · 1.0.19 (affected) · 1.0.20 (affected) · 1.0.21 (affected) · 1.0.22 (affected) · 1.0.23 (affected) · 1.0.24 (affected) · 1.0.25 (affected) · 1.0.26 (affected) · 1.0.27 (affected) · 1.1.0 (unaffected) | Version-specific | Not stated | VulDB |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.3 | high | VulDB · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | — |
| 3.0 | 7.3 | high | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | — |
| 2.0 | 7.5 | high | VulDB · cna | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| AgiFlow | scaffold-mcp | 1.0.0 (affected)1.0.1 (affected)1.0.2 (affected)1.0.3 (affected)1.0.4 (affected)1.0.5 (affected)1.0.6 (affected)1.0.7 (affected)1.0.8 (affected)1.0.9 (affected)1.0.10 (affected)1.0.11 (affected)1.0.12 (affected)1.0.13 (affected)1.0.14 (affected)1.0.15 (affected)1.0.16 (affected)1.0.17 (affected)1.0.18 (affected)1.0.19 (affected)1.0.20 (affected)1.0.21 (affected)1.0.22 (affected)1.0.23 (affected)1.0.24 (affected)1.0.25 (affected)1.0.26 (affected)1.0.27 (affected)1.1.0 (unaffected) | VulDB · cna |
Weaknesses
1- CWE-22 Path Traversal
References
7- https://github.com/AgiFlow/aicode-toolkit/commit/c4d23592ae5fb59cfeefc4641e6826f8ac89b9c6
- https://github.com/AgiFlow/aicode-toolkit/issues/88
- https://github.com/AgiFlow/aicode-toolkit/pull/89
- https://github.com/AgiFlow/aicode-toolkit/releases/tag/%40agiflowai/aicode-toolkit%401.1.0
- Submit #802836 | AgiFlow @agiflowai/scaffold-mcp 1.0.27 Path Traversal https://vuldb.com/submit/802836
- VDB-359845 | AgiFlow scaffold-mcp write-to-file Tool index.ts path traversal https://vuldb.com/vuln/359845
- VDB-359845 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/359845/cti
Provider assertions
2VulDB · cna
AgiFlow scaffold-mcp write-to-file Tool index.ts path traversal
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 83921fa08f03fe727bbe6edd8035f3860b3eefbd4a7b98f87517a06622f4b2d2
- Ingested
- 23 Sep 2026, 09:33:51 UTC
- Source record
- Official CVE record