Vulnerability · Published Jun 2, 2025 · Assigned by GitHub_M
CVE-2025-48957AstrBot Has Path Traversal Vulnerability in /api/chat/get_file
High 7.5
In plain English
A high-severity security flaw in AstrBot from AstrBotDevs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
AstrBot is a large language model chatbot and development framework. A path traversal vulnerability present in versions 3.4.4 through 3.5.12 may lead to information disclosure, such as API keys for LLM providers, account passwords, and other sensitive data. The vulnerability has been addressed in Pull Request #1676 and is included in version 3.5.13. As a workaround, 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 to fully resolve this issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | astrbot | 3.5.13 | GHSA-cq37-g2qp-3c2p |
| PyPI | astrbot | 3.5.13 | PYSEC-2026-1196 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| AstrBotDevs | AstrBot | >= 3.4.4, < 3.5.13 |
Weakness: CWE-23 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/AstrBotDevs/AstrBot/security/advisories/GHSA-cq37-g2qp-3c2p x_refsource_CONFIRM
- https://github.com/AstrBotDevs/AstrBot/issues/1675 x_refsource_MISC
- https://github.com/AstrBotDevs/AstrBot/pull/1676 x_refsource_MISC
- https://github.com/AstrBotDevs/AstrBot/commit/cceadf222c46813c7f41115b40d371e7eb91e492 x_refsource_MISC
- https://www.vicarius.io/vsociety/posts/cve-2025-48957-detect-astrbot-dashboard-vulnerability?prevUrl=wizard
- https://www.vicarius.io/vsociety/posts/cve-2025-48957-mitigate-astrbot-dashboard-vulnerability?prevUrl=wizard