AstrBot Has Path Traversal Vulnerability in /api/chat/get_file
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-48957
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 03:54 UTC · Revision 1
Source evidence
AstrBot Has Path Traversal Vulnerability in /api/chat/get_file
core-osv · Original sourcePublished 2 Jun 2025, 11:16 UTC
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.
osv:CVE-2025-48957
Complete source record
{
"id": "02e5942d5e305e71cc836d939e9ab2166e4aa7642da9681d98b592c758f63a94",
"url": "https://osv.dev/vulnerability/CVE-2025-48957",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "AstrBot Has Path Traversal Vulnerability in /api/chat/get_file",
"summary": "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.",
"evidence": "osv:CVE-2025-48957",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-48957",
"aliases": [
"CVE-2025-48957",
"GHSA-cq37-g2qp-3c2p",
"PYSEC-2026-1196"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/astrbotdevs/astrbot",
"type": "GIT",
"events": [
{
"introduced": "29374f8d8a54069a708847ed384b221417c23a8f"
},
{
"fixed": "9564166297a9a9346af2706def87a6b8c2c4ded3"
},
{
"fixed": "cceadf222c46813c7f41115b40d371e7eb91e492"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:astrbot:astrbot:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.4.4"
},
{
"fixed": "3.5.13"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "cceadf222c46813c7f41115b40d371e7eb91e492"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v3.5.12",
"v3.5.11",
"v3.5.10",
"v3.5.9",
"v3.5.8",
"v3.5.7",
"v3.5.6",
"v3.5.5",
"v3.5.4",
"v3.5.3.2",
"v3.5.3.1",
"v3.5.3",
"v3.5.2",
"v3.5.1",
"v3.5.0",
"v3.4.39",
"v3.4.38",
"v3.4.37",
"v3.4.36",
"v3.4.35",
"v3.4.34",
"v3.4.33",
"v3.4.32",
"v3.4.30",
"v3.4.31",
"v3.4.29",
"v3.4.28",
"v3.4.27",
"v3.4.26",
"v3.4.25",
"v3.4.24",
"v3.4.23",
"v3.4.22",
"v3.4.21",
"v3.4.20",
"v3.4.19",
"v3.4.18",
"v3.4.17",
"v3.4.16",
"v3.4.15",
"v3.4.14",
"v3.4.13",
"v3.4.12",
"v3.4.11",
"v3.4.10",
"v3.4.9",
"v3.4.8",
"v3.4.7",
"v3.4.6",
"v3.4.5",
"v3.4.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-48957.json"
}
}
],
"modified": "2026-10-28T02:30:25.777024965Z",
"provider": "osv",
"references": [
"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",
"https://github.com/AstrBotDevs/AstrBot/security/advisories/GHSA-cq37-g2qp-3c2p",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48957.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-48957",
"https://github.com/AstrBotDevs/AstrBot/issues/1675",
"https://github.com/AstrBotDevs/AstrBot/commit/cceadf222c46813c7f41115b40d371e7eb91e492",
"https://github.com/AstrBotDevs/AstrBot/pull/1676"
],
"provider_metadata": {
"cwe_ids": [
"CWE-23"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48957.json"
}
},
"related_cves": [
{
"value": "CVE-2025-48957",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492293,
"published_at": "2025-06-02T11:16:14.37+00:00"
}