GHSA-f4hc-q562-cc5r

Suggest an improvement
Source
https://github.com/advisories/GHSA-f4hc-q562-cc5r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-f4hc-q562-cc5r/GHSA-f4hc-q562-cc5r.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-f4hc-q562-cc5r
Aliases
Published
2025-03-20T12:32:48Z
Modified
2026-06-05T14:30:14Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
AgentScope Path Traversal in /api/file
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-22"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-03-20T20:50:09Z",
    "nvd_published_at":  "2025-03-20T10:15:42Z",
    "severity":  "HIGH"
}
References

Affected packages

PyPI / agentscope

Package

Name
agentscope
View open source insights on deps.dev
Purl
pkg:pypi/agentscope

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
0.0.4

Affected versions

0.*
0.0.1
0.0.2
0.0.3
0.0.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-f4hc-q562-cc5r/GHSA-f4hc-q562-cc5r.json"