Skip to main content

AstrBot CVE-2026-8754

| EUVDEUVD-2026-30700 LOW
Path Traversal (CWE-22)
2026-05-17 VulDB GHSA-f63h-wc26-pmvc
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain dashboard credentials
  2. Delivery
    Authenticate to AstrBot web interface
  3. Exploit
    Send crafted POST to /chat/file endpoint
  4. Execution
    Insert traversal sequences in filename parameter
  5. Persist
    Trigger file write outside attachments directory
  6. Impact
    Achieve 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

AstrBot 4.23.1
AstrBot 4.23.3
AstrBot 4.23.2
AstrBot 4.23.0
AstrBot 4.23.5
AstrBot 4.23.4

Affected Packages

pypi astrbot fix: 4.23.6

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

Vendor (VulDB) PRIMARY 2.1 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
May 17, 2026 - 13:22 NVD
MEDIUM LOW
CVSS changed
May 17, 2026 - 13:22 NVD
6.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.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

EPSS Score
0.0%
Top 92% exploitable
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2025-57698 HIGH POC
7.5 Nov 07

AstrBot Project v3.5.22 contains a directory traversal vulnerability. Rated high severity (CVSS 7.5), this vulnerability

CVE-2025-48957 HIGH POC
7.5 Jun 02

AstrBot versions 3.4.4 through 3.5.12 contain a path traversal vulnerability (CWE-23) in the dashboard feature that allo

CVE-2025-57697 MEDIUM POC
6.5 Nov 07

AstrBot Project v3.5.22 has an arbitrary file read vulnerability in function _encode_image_bs64. Rated medium severity (

CVE-2026-7579 MEDIUM POC
5.5 May 01

Hard-coded credentials in AstrBot Dashboard (versions ≤4.16.0) enable remote unauthenticated attackers to bypass authent

CVE-2026-6118 LOW POC
2.1 Apr 12

Command injection in AstrBot's MCP endpoint handler (add_mcp_server function) allows authenticated remote attackers to e

CVE-2026-17529 LOW POC
2.1 Jul 27

Incorrect authorization in AstrBot up to 4.25.5 allows remote authenticated users to bypass persona-based tool restricti

CVE-2026-16076 LOW POC
2.1 Jul 18

Authentication bypass by spoofing in AstrBot up to version 4.25.5 allows low-privileged remote attackers to impersonate

CVE-2026-16075 LOW POC
2.1 Jul 18

Authorization bypass in AstrBot's dashboard API allows any authenticated low-privileged user to enumerate and read chat

CVE-2026-15500 LOW POC
2.1 Jul 12

Server-side request forgery in AstrBot up to version 4.25.2 allows authenticated remote attackers to cause the server to

CVE-2026-15501 LOW POC
2.1 Jul 12

Server-side request forgery in AstrBot's dashboard MCP Test Endpoint allows low-privileged authenticated users to coerce

CVE-2026-16074 LOW POC
2.1 Jul 17

Server-side request forgery in AstrBotDevs AstrBot up to version 4.25.2 allows authenticated low-privilege users to make

CVE-2026-15499 LOW POC
2.1 Jul 12

Improper authorization in AstrBot's Scheduled Task Handler allows a remote low-privileged user to bypass authorization c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy