CVE-2026-51570
Deferred Deferred - Pending Action

Path Traversal in Modelscope Agentscope

Vulnerability report for CVE-2026-51570, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-30

Last updated on: 2026-10-02

Assigner: MITRE

Description

modelscope Agentscope v1.0.0-v1.0.8 is vulnerable to Path Traversal in insert_text_file.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-30
Last Modified
2026-10-02
Generated
2026-10-19
AI Q&A
2026-10-01
EPSS Evaluated
2026-10-18
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
modelscope agentscope to 1.0.8 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

modelscope Agentscope versions 1.0.0 to 1.0.8 has a Path Traversal vulnerability in the insert_text_file function. This allows an attacker with local access to read arbitrary files on the system by manipulating file paths.

Detection Guidance

To detect this vulnerability, check if AgentScope versions 1.0.18 through 1.0.19.post1 are installed. Inspect the file src/agentscope/tool/_text_file/_write_text_file.py for the insert_text_file function at line 12. Monitor for unauthorized file writes outside intended directories.

Impact Analysis

An attacker could exploit this to access sensitive files, including configuration files, user data, or system files. This may lead to data breaches, privilege escalation, or further system compromise depending on the exposed files.

Compliance Impact

This vulnerability could lead to unauthorized access to personal or sensitive data, violating GDPR and HIPAA requirements for data protection and confidentiality. Organizations may face legal penalties, fines, or reputational damage if exploited.

Mitigation Strategies

Immediately update Agentscope to a version beyond v1.0.8. If updating is not possible, disable file insertion features or restrict access to vulnerable endpoints. Monitor for unusual file access patterns.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-51570. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart