Directory traversal in modelscope agent-zero file browser
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-22 and the CVSS impact.
Summary
modelscope agent-zero versions 1.7, 1.8, 1.9, and 1.10 are affected. The save_text_file method in python/helpers/file_browser.py accepts user-controlled file paths without normalization or validation, which is a path traversal flaw (CWE-22). A remote attacker without privileges or user interaction can reach files outside the intended directory, with high confidentiality impact.
Written with Claude Haiku 5.5 from the sources below · 2026-11-04
Description from the CNA
modelscope agent-zero 1.7, 1.8, 1.9, and 1.10 is vulnerable to Directory Traversal in python/helpers/file_browser.py:FileBrowser.save_text_file. The save_text_file method accepts user-controlled file paths without normalization or validation, allowing path traversal attacks.
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 |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for agent-zero.
Written with Claude Haiku 5.5 from the sources below · 2026-11-04
Timeline
- 2026-10-29 Threatist record created from CVE-2026-51851
- 2026-10-29 Alias added: GHSA-jmhq-mcj5-qjhx
- 2026-11-04 EPSS moved to the 50th–90th percentile
- 2026-11-04 CVSS score added · CISA ADP
- 2026-11-04 Weakness changed · CISA ADP
- 2026-11-04 CISA SSVC decision points changed
- 2026-11-04 Priority changed: LOW → HIGH
References
Sources
- CVE-2026-51851 · CVE Program
- CVE-2026-51851 · NVD
- FIRST EPSS
- GHSA-jmhq-mcj5-qjhx · 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