Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai
CVE-2024-8438Path Traversal in modelscope/agentscope
High 7.5
In plain English
A high-severity path traversal in modelscope/agentscope from modelscope. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities).
Severity (CVSS 3.0)7.5High
Exploit odds (30 days)0.8%top 44.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
A path traversal vulnerability exists in modelscope/agentscope version v.0.0.4. The API endpoint `/api/file` does not properly sanitize the `path` parameter, allowing an attacker to read arbitrary files on the server.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | agentscope | no fix listed | GHSA-f4hc-q562-cc5r |
| PyPI | agentscope | no fix listed | PYSEC-2025-80 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| modelscope | modelscope/agentscope | unspecified – through latest |
Weakness: CWE-22 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N