CVE-2026-51851 Details
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.
A directory traversal vulnerability has been identified in Modelscope Agent-Zero versions 1.7 through 1.10. The issue arises in the FileBrowser.save_text_file method, which accepts user-controlled file paths without proper validation or normalization. This oversight allows for path traversal attacks, enabling malicious users to write arbitrary files to locations outside the intended directory.
A fix has been implemented in Agent-Zero version 1.11. Users are advised to update to this version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 29, 2026CISA-ADP
Assessed Nov 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/agent0ai/agent-zero/issues/1541 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://gist.github.com/Ro1ME/a1bbf47465175e279a72121cd0df298b | [email protected] | ExploitTechnical Description |
| https://github.com/agent0ai/agent-zero/issues/1541 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| modelscope agent-zero | 1.7 1.8 1.9 1.10 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 4, 2026 | CVE Modified | CISA-ADP |
| Oct 29, 2026 | New CVE Received | [email protected] |
Volerion