{"id":"CVE-2024-8438","aliases":["CVE-2024-8438","GHSA-f4hc-q562-cc5r","PYSEC-2025-80"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal in modelscope/agentscope","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Existe una vulnerabilidad de path traversal en modelscope/agentscope versión v.0.0.4. El endpoint de la API `/api/file` no depura correctamente el parámetro `path`, lo que permite a un atacante leer archivos arbitrarios en el servidor.","source":"nvd"}],"published":"2025-03-20T10:09:49.971Z","modified":"2026-06-17T08:22:34.667Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"modelscope","product":"modelscope/agentscope","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.0.4"}],"ecosystem":"PyPI","package":"agentscope","purl":"pkg:pypi/agentscope","source":"ghsa"},{"ranges":[{"status":"affected","version":"0.0.4"}],"vendor":"modelscope","product":"agentscope","cpe":"cpe:2.3:a:modelscope:agentscope:0.0.4:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.0.4"}],"ecosystem":"PyPI","package":"agentscope","purl":"pkg:pypi/agentscope","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/3f170c58-42ee-422d-ab6f-32c7aa05b974","tags":["evidence","exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8438","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/modelscope/agentscope","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/modelscope/agentscope/blob/af8e45ded37b3834c981473b309239e0102473d0/src/agentscope/studio/_app.py#L578","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2025-80.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-f4hc-q562-cc5r","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-03-20T17:52:54.370Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-8438","url":"https://www.cve.org/CVERecord?id=CVE-2024-8438","licence":"CVE Terms of Use","modified":"2025-03-20T18:34:01.364Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f4hc-q562-cc5r","url":"https://github.com/advisories/GHSA-f4hc-q562-cc5r","licence":"CC-BY-4.0","modified":"2026-06-05T14:30:14.134Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-8438","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8438","licence":"Public domain","modified":"2026-06-17T08:22:34.667Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2025-80","url":"https://osv.dev/vulnerability/PYSEC-2025-80","licence":"CC-BY-4.0","modified":"2026-06-10T17:00:08.699Z"}],"updatedAt":"2026-11-25T22:58:52.395Z","epss":{"score":0.00772,"percentile":0.56895,"date":"2026-12-01T12:00:22.000Z"}}