CVE-2024-8524: modelscope/agentscope · Path Traversal
Affects modelscope/agentscopeSource CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 1.1% chance of exploitation in 30 days – higher than 67% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPImodelscope-agentscopepkg:pypi/modelscope-agentscopeOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Immediately restrict network access to the /read-examples endpoint by implementing firewall rules or network segmentation to limit exposure to trusted internal users only.
- Implement strict input validation and sanitization on pathname parameters to prevent directory traversal sequences such as '../' from being processed.
- Monitor application logs for suspicious POST requests targeting the /read-examples endpoint, especially those containing unusual path traversal patterns.
- If possible, disable or remove the /read-examples endpoint until a vendor patch or official fix is released.
- Apply the principle of least privilege to the file system permissions, ensuring the application process cannot read files outside its intended directories.
- Stay informed on vendor advisories and apply patches promptly once available.
- Conduct internal audits to identify any unauthorized data access that may have occurred prior to mitigation.
- Consider deploying web application firewalls (WAF) with custom rules to detect and block directory traversal attempts targeting this endpoint.
Description
A directory traversal vulnerability exists in modelscope/agentscope version 0.0.4. An attacker can exploit this vulnerability to read any local JSON file by sending a crafted POST request to the /read-examples endpoint.