AgentScope path traversal vulnerability in save-workflow
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.
- Products
- agentscope
- 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
- Fixed versions
- Not specified
- CVEs
- CVE-2024-8551
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 16:51 UTC · Revision 1
Source evidence
AgentScope path traversal vulnerability in save-workflow
core-osv · Original sourcePublished 20 Mar 2025, 12:32 UTC
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.
osv:GHSA-j9rw-qm5f-r8xm
agentscope
Fixed versions: Not specified
Complete source record
{
"id": "c360ca11b0953d7da766097827508e9ad27ef568320601dfd46816510e6daf9d",
"url": "https://osv.dev/vulnerability/GHSA-j9rw-qm5f-r8xm",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "AgentScope path traversal vulnerability in save-workflow",
"summary": "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.",
"evidence": "osv:GHSA-j9rw-qm5f-r8xm",
"products": [
{
"name": {
"value": "agentscope",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0.1",
"evidence": "/affected/0/versions"
},
{
"value": "0.0.2",
"evidence": "/affected/0/versions"
},
{
"value": "0.0.3",
"evidence": "/affected/0/versions"
},
{
"value": "0.0.4",
"evidence": "/affected/0/versions"
},
{
"value": "0.0.5",
"evidence": "/affected/0/versions"
},
{
"value": "0.0.5a1",
"evidence": "/affected/0/versions"
},
{
"value": "0.0.6a1",
"evidence": "/affected/0/versions"
},
{
"value": "0.0.6a2",
"evidence": "/affected/0/versions"
},
{
"value": "0.1.0",
"evidence": "/affected/0/versions"
},
{
"value": "0.1.1",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "GHSA-j9rw-qm5f-r8xm",
"aliases": [
"CVE-2024-8551",
"GHSA-j9rw-qm5f-r8xm",
"PYSEC-2026-255"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "0.1.1"
}
]
}
],
"package": {
"name": "agentscope",
"purl": "pkg:pypi/agentscope",
"ecosystem": "PyPI"
},
"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"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-j9rw-qm5f-r8xm/GHSA-j9rw-qm5f-r8xm.json"
}
}
],
"modified": "2026-10-26T21:15:03.667900656Z",
"provider": "osv",
"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"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22",
"CWE-23"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2025-03-20T10:15:43Z",
"github_reviewed_at": "2025-03-20T20:52:49Z"
}
},
"related_cves": [
{
"value": "CVE-2024-8551",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 458977,
"published_at": "2025-03-20T12:32:48+00:00"
}