Home / AgiFlow / scaffold-mcp / CVE-2026-7237
CVE-2026-7237: is it exploited, and which versions of AgiFlow scaffold-mcp are affected and fixed?
CVE-2026-7237 is a path traversal (reading or writing files outside the intended folder) vulnerability in AgiFlow scaffold-mcp. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: scaffold-mcp 1.0.0, scaffold-mcp 1.0.1, scaffold-mcp 1.0.2 and 25 more (CVE record by VulDB). Fixed in 1.1.0 (CVE record by VulDB). Severity: Medium (6.9, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-7237?
AgiFlow scaffold-mcp write-to-file Tool index.ts path traversal
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.
From the CVE record by VulDB, last updated April 28, 2026, 14:13 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| 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 and 16 more ranges | 1.1.0 |
As the CVE record by VulDB states it, last updated April 28, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-7237?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 4.0 | 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 | VulDB |
| High 7.3 | CVSS 3.1 | 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 | VulDB |
| High 7.3 | CVSS 3.0 | 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 | VulDB |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C | VulDB |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-7237 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, April 28, 2026)
- EPSS
- 0.46% probability of exploitation activity in the next 30 days, percentile 42.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- VDB-359845 | AgiFlow scaffold-mcp write-to-file Tool index.ts path traversal vdb-entry, technical-description
- VDB-359845 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #802836 | AgiFlow @agiflowai/scaffold-mcp 1.0.27 Path Traversal third-party-advisory
- https://github.com/AgiFlow/aicode-toolkit/issues/88 exploit, issue-tracking
- https://github.com/AgiFlow/aicode-toolkit/pull/89 issue-tracking, patch
- https://github.com/AgiFlow/aicode-toolkit/commit/c4d23592ae5fb59cfeefc4641e6826f8ac89b9c6 patch
- https://github.com/AgiFlow/aicode-toolkit/releases/tag/%40agiflowai/aicode-toolkit%401.1.0 patch
Who found and reported it?
- BruceJin (VulDB User) (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 27, 2026
- Published
- April 28, 2026, 06:45 UTC
- CVE record updated
- April 28, 2026, 14:13 UTC by VulDB
- NVD
- Deferred, last modified October 26, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-7237
Is CVE-2026-7237 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.46% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of AgiFlow scaffold-mcp are affected by CVE-2026-7237?
scaffold-mcp 1.0.0, scaffold-mcp 1.0.1, scaffold-mcp 1.0.2, scaffold-mcp 1.0.3, scaffold-mcp 1.0.4, scaffold-mcp 1.0.5 and 22 more, per the CVE record by VulDB. The tables above give every range the sources list.
Which version fixes CVE-2026-7237?
1.1.0, per the CVE record by VulDB. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-7237?
Medium (6.9, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2026-7237?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.