AgiFlow scaffold-mcp up to 1.0.27 write-to-file Tool index.ts file_path path traversal
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in AgiFlow scaffold-mcp up to 1.0.27 and classified as critical. This affects an unknown part of the file packages/scaffold-mcp/src/server/index.ts of the component write-to-file Tool. This manipulation of the argument file_path causes path traversal. This vulnerability is registered as CVE-2026-7237. Remote exploitation of the attack is possible. Furthermore, an exploit is available. The affected component should be upgraded.
Details
A vulnerability was found in AgiFlow scaffold-mcp up to 1.0.27. It has been declared as critical. Affected by this vulnerability is an unknown part of the file packages/scaffold-mcp/src/server/index.ts of the component write-to-file Tool. The manipulation of the argument file_path with an unknown input leads to a path traversal vulnerability. The CWE definition for the vulnerability is CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. As an impact it is known to affect confidentiality, integrity, and availability.
The advisory is shared at github.com. This vulnerability is known as CVE-2026-7237. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known. MITRE ATT&CK project uses the attack technique T1006 for this issue.
It is possible to download the exploit at github.com. It is declared as proof-of-concept.
Upgrading to version 1.1.0 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch c4d23592ae5fb59cfeefc4641e6826f8ac89b9c6 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Vendor
Name
Version
- 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
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Path traversalCWE: CWE-22
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: scaffold-mcp 1.1.0
Patch: c4d23592ae5fb59cfeefc4641e6826f8ac89b9c6
Timeline
04/27/2026 Advisory disclosed04/27/2026 VulDB entry created
04/27/2026 VulDB entry last update
Sources
Advisory: 88Status: Confirmed
Confirmation: 🔒
CVE: CVE-2026-7237 (🔒)
GCVE (CVE): GCVE-0-2026-7237
GCVE (VulDB): GCVE-100-359845
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 04/27/2026 19:22Changes: 04/27/2026 19:22 (64)
Complete: 🔍
Submitter: BruceJin
Cache ID: 216::103
Submit
Accepted
- Submit #802836: AgiFlow @agiflowai/scaffold-mcp 1.0.27 Path Traversal (by BruceJin)
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.