GHSA-j9rw-qm5f-r8xmcritical9.1
AgentScope path traversal vulnerability in save-workflow
The advisory, in context
A path traversal vulnerability exists in the save-workflow and load-workflow functionality of modelscope/agentscope versions prior to the fix. This vulnerability allows an attacker to read and write arbitrary JSON files on the filesystem, potentially leading to the exposure or modification of sensitive information such as configuration files, API keys, and hardcoded passwords.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
agentscope PyPI
Ecosystem versions
Earlier releases through 0.1.1 (inclusive)
No fix recorded for this interval.
10 explicitly affected versions
0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.5a1, 0.0.6a1, 0.0.6a2, 0.1.0, 0.1.1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "0.1.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.0.1",
"0.0.2",
"0.0.3",
"0.0.4",
"0.0.5",
"0.0.5a1",
"0.0.6a1",
"0.0.6a2",
"0.1.0",
"0.1.1"
]
}References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8551
- https://github.com/modelscope/agentscope
- https://github.com/modelscope/agentscope/blob/01530ee6a99c86426aab1be11ec3b3b86ca640ac/src/agentscope/studio/_app.py#L680
- https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2026-255.yaml
- https://huntr.com/bounties/e0c0c294-f1e2-4f2c-a632-a9be9fd06989
- https://pypi.org/project/agentscope