Skip to content
HighVulnerability

CVE-2026-51851: modelscope agent-zero directory traversal in FileBrowser.save_text_file

Identifier
CVE-2026-51851
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.0%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

modelscope agent-zero versions 1.7, 1.8, 1.9, and 1.10 are affected by a directory traversal flaw in python/helpers/file_browser.py:FileBrowser.save_text_file. The save_text_file method accepts user-controlled file paths without normalization or validation, which allows path traversal.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.