AstrBot Has Path Traversal Vulnerability in /api/chat/get_file
CVE-2025-48957 · GHSA-cq37-g2qp-3c2p · published 2025-06-04 · updated 2025-06-27
- Severity
- High
- CVSS score
- 7.5
- Chance of exploitation (EPSS)
- 0.78%
- Fixed in
- 3.5.13
- Exploitation Public proof of concept
- Automatable Yes
- Technical impact Partial
- CISA SSVC
This vulnerability may lead to: Information disclosure, such as API keys for LLM providers, account passwords, and other sensitive data.
Upgrade astrbot to 3.5.13 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
The vulnerability has been addressed in Pull Request #1676 and is included in versions >= v3.5.13. All users are strongly encouraged to upgrade to v3.5.13 or later.
Users can edit the cmd_config.json file to disable the dashboard feature as a temporary workaround. However, it is strongly recommended to upgrade to version v3.5.13 or later as soon as possible to fully resolve this issue.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| astrbot | PyPI | >= 3.4.4, <= 3.5.12 | 3.5.13 |
- CriticalMCP Path Traversal Allows Full-Filesystem Read and JWT Secret Exfiltration Leading to Account Takeoverlangflow, langflow-base
- CriticalVibe-Trading FastAPI endpoints permit unauthenticated access, file upload, and an RCE chainvibe-trading-ai
- 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
- CriticalAstrBot is vulnerable to RCE with hard-coded JWT signing keysastrbot
- HighAstrBot contains a directory traversal vulnerabilityastrbot
- MediumAstrBot Makes Use of Hard-coded Passwordastrbot
- MediumAstrBot has an arbitrary file read vulnerability in function _encode_image_bs64astrbot
- LowAstrBot: Manipulation of astr_main_agent's session_id parameter leads to authorization bypassastrbot
- LowAstrBot: File upload vulnerability in the function post_file of the file astrbot/dashboard/routes/chat.pyastrbot
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.