Quick answers
- Is CVE-2026-51570 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-51570 being exploited in the wild.
- How severe is CVE-2026-51570?
- High severity, with a CVSS score of 8.1, published 30 September 2026.
- Which products and versions are affected?
- Modelscope Agentscope 1.0.0-1.0.8.
- Is there a fix for CVE-2026-51570?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-51570 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-51570?
- Check whether you run Modelscope Agentscope at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The insert_text_file function in src/agentscope/tool/_text_file/_write_text_file.py lacks proper validation of file paths, allowing directory traversal attacks via specially crafted input. An attacker can exploit this to write arbitrary files outside the designated storage boundary. The vulnerability affects versions 1.0.0–1.0.8 per the advisory title, though referenced material mentions 1.0.18–1.0.19.post1.
Affected products
- modelscope Agentscope 1.0.0-1.0.8
Timeline
- 2026-09-30: disclosed