Skip to main content
VulnerabilityPublished Updated

CVE-2024-8524: modelscope/agentscope · Path Traversal

Affects modelscope/agentscopeSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.0 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPImodelscope-agentscopepkg:pypi/modelscope-agentscopeOther threatsAffected
  • =0.0.4
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Immediately restrict network access to the /read-examples endpoint by implementing firewall rules or network segmentation to limit exposure to trusted internal users only.
  2. Implement strict input validation and sanitization on pathname parameters to prevent directory traversal sequences such as '../' from being processed.
  3. Monitor application logs for suspicious POST requests targeting the /read-examples endpoint, especially those containing unusual path traversal patterns.
  4. If possible, disable or remove the /read-examples endpoint until a vendor patch or official fix is released.
  5. Apply the principle of least privilege to the file system permissions, ensuring the application process cannot read files outside its intended directories.
  6. Stay informed on vendor advisories and apply patches promptly once available.
  7. Conduct internal audits to identify any unauthorized data access that may have occurred prior to mitigation.
  8. 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.

References

Community reviews

Loading reviews…