Skip to main content

Astrbot CVE-2025-48957

| EUVDEUVD-2025-16634 HIGH
Relative Path Traversal (CWE-23)
2025-06-02 security-advisories@github.com GHSA-cq37-g2qp-3c2p
7.5
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Relative path traversal prevention
Impact

The CVSS score of 7.5 accurately reflects real-world risk: the attack vector is Network (AV:N), requires no authentication (PR:N), has low complexity (AC:L), and produces high confidentiality impact (C:H). The absence of authentication requirements and low attack complexity make this vulnerability practically exploitable by any network-accessible instance. The vulnerability directly exposes high-value secrets (LLM API keys, database passwords), creating immediate risk for account compromise, unauthorized API usage, and lateral movement. Configuration file exposure enables attackers to understand the application architecture and discover additional targets. The availability of a publicly disclosed patch (PR #1676) in version 3.5.13 increases likelihood of exploit development. Real-world risk is HIGH because: (1) secrets exposure has direct business impact, (2) no authentication barrier exists, (3) exploitation is straightforward (directory traversal is a well-understood technique), and (4) detection may be difficult if access logs are not monitored. This is not a low-risk high-CVSS scenario—the technical impact directly aligns with real exploitation potential.

Exploit ScenarioDerived

An attacker discovers a publicly accessible AstrBot dashboard instance on a company's internal network or cloud deployment. The attacker crafts an HTTP request to the dashboard endpoint with a path traversal payload, such as: GET /dashboard/api/files?path=../../../../cmd_config.json. Due to insufficient input validation, the server processes the relative path traversal and returns the contents of cmd_config.json, which contains plaintext or weakly protected API keys for OpenAI, Anthropic, or other LLM providers, plus database credentials. The attacker extracts these credentials and uses them to: (1) make unauthorized API calls to LLM services, incurring charges against the victim's accounts; (2) access the backend database to exfiltrate user conversations or training data; (3) pivot to other systems using discovered internal credentials. The attack requires no authentication, takes minutes to execute, and leaves minimal forensic traces if access logs are not properly monitored. The straightforward nature of path traversal exploitation and public patch availability make this scenario highly likely if systems remain unpatched.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 14, 2026

AstrBot versions 3.4.4 through 3.5.12 contain a path traversal vulnerability (CWE-23) in the dashboard feature that allows unauthenticated remote attackers to disclose sensitive information including LLM provider API keys, account passwords, and other confidential data. The vulnerability has a CVSS score of 7.5 (High) with high confidentiality impact and no authentication requirements. Patch is available in version 3.5.13 and later via Pull Request #1676.

RemediationAI

Upgrade to AstrBot version 3.5.13 or later; priority: IMMEDIATE; details: The vulnerability is fully resolved in version 3.5.13. Apply patch via Pull Request #1676. Temporary Workaround: Disable the dashboard feature; priority: HIGH (if upgrade is delayed); steps: ['Edit the cmd_config.json configuration file', 'Set the dashboard feature to disabled/false', 'Restart the AstrBot service', 'Verify dashboard is no longer accessible']; limitations: This workaround removes dashboard functionality but does not patch the underlying vulnerability. Only suitable as a temporary measure pending upgrade. Network Mitigation: Restrict dashboard access; priority: MEDIUM (supplementary control); steps: ['Implement network-level access controls to restrict dashboard ports', 'Use firewall rules to limit access to trusted internal networks only', 'Consider placing AstrBot behind a WAF with path traversal detection', 'Implement IP whitelisting if applicable'] Detection & Response: Monitor for exploitation attempts; priority: MEDIUM; steps: ['Review access logs for suspicious path traversal patterns (../ sequences)', 'Monitor file access logs for unexpected reads of cmd_config.json and sensitive files', 'Rotate all stored API keys and passwords immediately if breach suspected', 'Audit audit logs for unauthorized configuration access']

Affected VersionsENISA

AstrBot 3.4.4, < 3.5.13

Affected Packages

pypi astrbot fix: 3.5.13

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

The vulnerability exists in AstrBot's web dashboard component and stems from improper input validation on file path parameters (CWE-23: Relative Path Traversal). The dashboard feature fails to properly sanitize or restrict user-supplied path inputs, allowing attackers to traverse the filesystem using relative path sequences (e.g., '../../../') to access files outside the intended directory. AstrBot stores sensitive configuration data including API credentials in configuration files (cmd_config.json and related configuration stores) within the application directory. The path traversal flaw permits direct access to these files through HTTP requests without authentication. The vulnerability affects the LLM chatbot framework across multiple minor versions, impacting both the core framework and any deployments using the vulnerable dashboard feature.

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

GitHub Advisory PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
Patch released
Mar 14, 2026 - 16:47 nvd
Patch available
PoC Detected
Jun 25, 2025 - 17:39 vuln.today
Public exploit code
CVE Published
Jun 02, 2025 - 12:15 nvd
HIGH 7.5

DescriptionGitHub Advisory

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.

Executive ViewAI

Why It Matters

AstrBot versions 3.4.4-3.5.12 contain a path traversal vulnerability that could expose sensitive credentials including API keys and passwords. Organizations using affected versions face immediate risk of credential compromise and potential unauthorized access to integrated LLM services and downstream systems.

Business Impact: High
Compensating Controls

Apply vendor patch. As interim measure pending upgrade: disable dashboard feature by editing cmd_config.json; implement network segmentation to restrict dashboard access; monitor file system access logs for path traversal attempts.

Threat Intelligence Overview

EPSS Score
0.3%
Top 43% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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

CVE-2026-10213 LOW POC
2.1 Jun 01

Path traversal in AstrBot 4.23.6 allows authenticated remote attackers to manipulate the Name parameter of the /api/skil

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