Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain dashboard credentials
-
DeliveryAuthenticate to AstrBot web interface
-
ExploitSend crafted POST to /chat/file endpoint
-
ExecutionInsert traversal sequences in filename parameter
-
PersistTrigger file write outside attachments directory
-
ImpactAchieve arbitrary file placement within process permissions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated access to the AstrBot dashboard with credentials sufficient to reach the /chat/file upload endpoint (CVSS PR:L confirms low-privilege authentication needed). The dashboard's file upload feature must be accessible to the attacker, which depends on AstrBot being deployed with the web dashboard component enabled and network-reachable. Exploitation succeeds against default configurations of AstrBot versions ≤4.23.5 without additional hardening. Limiting factors: authentication requirement restricts exploitation to credential holders or scenarios where credentials are compromised via separate attack vector; the impact scope is constrained by filesystem permissions of the AstrBot process user account (if properly restricted, traversal cannot write to system directories requiring elevated privileges); scope unchanged (S:U) in CVSS indicates file write is limited to resources managed by the vulnerable component. |
| Impact | CVSS 6.3 (Medium) reflects network-accessible exploitation requiring low-privilege authentication (PR:L) with low complexity (AC:L) and no user interaction (UI:N), achieving limited confidentiality, integrity, and availability impact (C:L/I:L/A:L). Real-world risk is moderate: the publicly available exploit code (GitHub Gist) lowers exploitation barrier, but PR:L authentication requirement limits attack surface to users with dashboard access credentials. No CISA KEV listing and absence of EPSS data suggest exploitation remains proof-of-concept or targeted rather than automated mass scanning. The CVSS temporal metrics (E:P for POC available, RL:O for official fix, RC:C for complete reporting) are confirmed by GitHub commit aaec41e5 and release tag v4.23.6. Primary risk is file system integrity compromise through arbitrary file write, potentially enabling web shell placement, configuration tampering, or DoS via disk exhaustion. Attack complexity is genuinely low per CVSS-no race conditions or environment dependencies-just authenticated API access and crafted filename. Organizations running AstrBot dashboards with external user access should prioritize patching; internal-only deployments face reduced risk from the authentication requirement. |
| Exploit ScenarioDerived | An authenticated attacker with dashboard access credentials logs into the AstrBot web interface and navigates to the file upload feature in the chat module. Using the publicly available exploit code from https://gist.github.com/YLChen-007/054415c2b63e58813328bc879a90c504, they craft an HTTP POST request to the /chat/file endpoint with a filename parameter containing traversal sequences like '../../../../var/www/html/shell.php' and upload a malicious payload. The vulnerable post_file function concatenates this filename directly with the attachments directory path, causing the file to write outside the intended directory. The attacker achieves arbitrary file write within the AstrBot process's permissions, potentially placing a web shell for remote code execution or overwriting configuration files. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 17, 2026
Path traversal in AstrBot dashboard file upload allows authenticated remote attackers to write files outside intended directories via manipulated filenames. Affected versions through 4.23.5 fail to sanitize user-supplied filenames in the post_file function, enabling directory traversal sequences (../, ..\ ) to bypass access controls. Publicly available exploit code exists (GitHub Gist by YLChen-007). Vendor-released patch in version 4.23.6 implements filename sanitization using PurePosixPath normalization and path validation to prevent traversal. CVE assigned CVSS 6.3 (Medium) with low-privilege remote exploitation confirmed. No CISA KEV listing indicates exploitation remains targeted rather than widespread.
RemediationAI
Upgrade to AstrBot version 4.23.6 or later, confirmed patched per GitHub release tag v4.23.6 (https://github.com/AstrBotDevs/AstrBot/releases/tag/v4.23.6) and commit aaec41e5054569ceaa1113593a34da7568e2d211 (https://github.com/AstrBotDevs/AstrBot/commit/aaec41e5054569ceaa1113593a34da7568e2d211). The patch implements comprehensive filename sanitization including path normalization, basename extraction, null-byte stripping, and directory containment validation. If immediate upgrade is not feasible, implement compensating controls: (1) Restrict dashboard access to trusted internal networks only via firewall rules, reducing remote attack surface but limiting legitimate remote administration; (2) Apply web application firewall rules to block HTTP requests containing '../', '..\ ', '%2e%2e', or null bytes (%00) in file upload parameters, though this may cause false positives with legitimate filenames containing URL-encoded characters; (3) Run the AstrBot process under a dedicated low-privilege user account with write permissions restricted to only the attachments directory, limiting traversal impact to that user's accessible paths but requiring filesystem permission reconfiguration. None of these workarounds fully mitigate the vulnerability-upgrading to 4.23.6 is the recommended solution.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability exploits CWE-22 (Path Traversal) in AstrBot's Python-based web dashboard, specifically in the chat route's file upload handler (astrbot/dashboard/routes/chat.py). The vulnerable code directly concatenates user-controlled filename input with the attachments directory path using os.path.join without validation. Because os.path.join does not prevent directory traversal sequences, attackers can supply filenames containing '../' (POSIX) or '..\' (Windows) to write files to arbitrary filesystem locations. The commit diff shows the fix introduces _sanitize_upload_filename() which normalizes backslashes to forward slashes, extracts only the base filename using PurePosixPath().name (stripping directory components), removes null bytes, and validates the resolved path stays within attachments_dir using Path.is_relative_to(). Unit tests confirm the sanitization blocks '../../outside.txt', 'C:\fakepath\photo.png', and embedded null bytes. This affects Python web applications using user-supplied filenames in filesystem operations without canonicalization.
Know when Astrbot gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was detected in AstrBotDevs AstrBot up to 4.23.5. Impacted is the function post_file of the file astrbot/dashboard/routes/chat.py of the component File Upload Handler. The manipulation of the argument filename results in path traversal. It is possible to launch the attack remotely. The exploit is now public and may be used. Upgrading to version 4.23.6 is recommended to address this issue. The patch is identified as aaec41e5054569ceaa1113593a34da7568e2d211. You should upgrade the affected component.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
AstrBot Project v3.5.22 contains a directory traversal vulnerability. Rated high severity (CVSS 7.5), this vulnerability
AstrBot versions 3.4.4 through 3.5.12 contain a path traversal vulnerability (CWE-23) in the dashboard feature that allo
AstrBot Project v3.5.22 has an arbitrary file read vulnerability in function _encode_image_bs64. Rated medium severity (
Hard-coded credentials in AstrBot Dashboard (versions ≤4.16.0) enable remote unauthenticated attackers to bypass authent
Command injection in AstrBot's MCP endpoint handler (add_mcp_server function) allows authenticated remote attackers to e
Incorrect authorization in AstrBot up to 4.25.5 allows remote authenticated users to bypass persona-based tool restricti
Authentication bypass by spoofing in AstrBot up to version 4.25.5 allows low-privileged remote attackers to impersonate
Authorization bypass in AstrBot's dashboard API allows any authenticated low-privileged user to enumerate and read chat
Server-side request forgery in AstrBot up to version 4.25.2 allows authenticated remote attackers to cause the server to
Server-side request forgery in AstrBot's dashboard MCP Test Endpoint allows low-privileged authenticated users to coerce
Server-side request forgery in AstrBotDevs AstrBot up to version 4.25.2 allows authenticated low-privilege users to make
Improper authorization in AstrBot's Scheduled Task Handler allows a remote low-privileged user to bypass authorization c
EUVD-2026-30700
GHSA-f63h-wc26-pmvc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB