AgentScope path traversal vulnerability
A path traversal vulnerability exists in the modelscope/agentscope application, affecting all versions. The vulnerability is present in the /delete-workflow endpoint, allowing an attacker to delete arbitrary files from the filesystem. This issue arises due to improper input validation, enabling the attacker to manipulate file paths and delete sensitive files outside of the intended directory.
- 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-8537
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 16:51 UTC · Revision 1
Source evidence
A path traversal vulnerability exists in the modelscope/agentscope application, affecting all versions. The vulnerability is present in the /delete-workflow endpoint, allowing an attacker to delete arbitrary files from the filesystem. This issue arises due to improper input validation, enabling the attacker to manipulate file paths and delete sensitive files outside of the intended directory.
osv:GHSA-c4cc-w454-4634
agentscope
Fixed versions: Not specified
Complete source record
{
"id": "70dda50d86aefd06f624db48c322d5f78cc701e5e5e737fcff0c02ab928f243f",
"url": "https://osv.dev/vulnerability/GHSA-c4cc-w454-4634",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "AgentScope path traversal vulnerability",
"summary": "A path traversal vulnerability exists in the modelscope/agentscope application, affecting all versions. The vulnerability is present in the /delete-workflow endpoint, allowing an attacker to delete arbitrary files from the filesystem. This issue arises due to improper input validation, enabling the attacker to manipulate file paths and delete sensitive files outside of the intended directory.",
"evidence": "osv:GHSA-c4cc-w454-4634",
"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-c4cc-w454-4634",
"aliases": [
"CVE-2024-8537",
"GHSA-c4cc-w454-4634",
"PYSEC-2026-254"
],
"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-c4cc-w454-4634/GHSA-c4cc-w454-4634.json"
}
}
],
"modified": "2026-10-26T21:15:03.665362500Z",
"provider": "osv",
"references": [
"https://nvd.nist.gov/vuln/detail/CVE-2024-8537",
"https://github.com/modelscope/agentscope/pull/459",
"https://github.com/modelscope/agentscope/commit/7d285e862f86fa1d96ed04c4cd40a5f1b8f9189a",
"https://github.com/modelscope/agentscope",
"https://github.com/modelscope/agentscope/blob/01530ee6a99c86426aab1be11ec3b3b86ca640ac/src/agentscope/studio/_app.py#L743",
"https://github.com/pypa/advisory-database/tree/main/vulns/agentscope/PYSEC-2026-254.yaml",
"https://huntr.com/bounties/eeb8aa4b-e6e5-465c-b0dd-aa97e3b7dc09",
"https://pypi.org/project/agentscope"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22",
"CWE-29"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2025-03-20T10:15:42Z",
"github_reviewed_at": "2025-03-20T20:51:49Z"
}
},
"related_cves": [
{
"value": "CVE-2024-8537",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 458976,
"published_at": "2025-03-20T12:32:48+00:00"
}