AgentScope directory traversal vulnerability in /read-examples
CVE-2024-8524 · GHSA-6v28-q95m-93qr · published 2025-03-20 · updated 2026-06-05
- Severity
- High
- CVSS score
- 7.5
- Chance of exploitation (EPSS)
- 1.2%
- Fixed in
- No fix yet
- Exploitation Public proof of concept
- Automatable Yes
- Technical impact Partial
- CISA SSVC
A directory traversal vulnerability exists in modelscope/agentscope version 0.0.4. An attacker can exploit this vulnerability to read any local JSON file by sending a crafted POST request to the /read-examples endpoint.
No fixed release is listed yet for agentscope. Follow the source advisory for updates, and until one ships:
General guidance from ShieldPi, not a vendor fix
- Path traversal. Limit the folders it can reach at the operating-system level, such as a container or a user with access to only those folders, and keep credentials and keys outside them.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| agentscope | PyPI | <= 0.0.4 | No fix yet |
- CriticalMCP Path Traversal Allows Full-Filesystem Read and JWT Secret Exfiltration Leading to Account Takeoverlangflow, langflow-base
- Critical@zereight/mcp-gitlab: Unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover@zereight/mcp-gitlab
- CriticalFlowise RCE via SQL Database Chain Nodeflowise, flowise-components
- CriticalLangroid: SQLChatAgent dangerous-function blocklist can be bypassed with quoted or schema-qualified pg_read_file callslangroid
- Criticalfast-mcp-telegram: Bearer token path traversal bypasses reserved Telegram session protectionfast-mcp-telegram
- CriticalMCP Toolbox HTTP tool path parameters allow traversal to unintended endpointsgithub.com/googleapis/mcp-toolbox
- CriticalAgentScope Deserialization Vulnerabilityagentscope
- CriticalAgentScope path traversal vulnerabilityagentscope
- CriticalAgentScope path traversal vulnerability in save-workflowagentscope
- HighAgentScope Cross-Origin Resource Sharing (CORS) vulnerabilityagentscope
- HighAgentScope Path Traversal in /api/fileagentscope
- HighAgentScope arbitrary file download vulnerability in rpc_agent_clientagentscope
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.