Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-113505 Overview
CVE-2026-113505 is a path traversal vulnerability in aaPanel versions up to 8.25.0. The flaw resides in the send_file function within BTPanel/routes/v2.py, which serves the Download Endpoint component. An authenticated attacker can manipulate the filename argument to traverse directories and read files outside the intended path. The vendor confirms that the reported Remote Code Execution (RCE) and Local File Inclusion (LFI) vulnerabilities require authentication. A public proof-of-concept has been published, increasing the likelihood of exploitation attempts against exposed aaPanel installations.
Critical Impact
Authenticated attackers can read arbitrary files from the aaPanel host via a crafted filename parameter, exposing configuration data, credentials, and sensitive system files.
Affected Products
- aaPanel versions up to and including 8.25.0
- BTPanel/routes/v2.py Download Endpoint component
- Deployments exposing aaPanel to authenticated users
Discovery Timeline
- 2026-10-20 - CVE-2026-113505 published to NVD
- 2026-10-21 - Last updated in NVD database
Technical Details for CVE-2026-113505
Vulnerability Analysis
The vulnerability affects the send_file function in BTPanel/routes/v2.py, which handles file download requests inside aaPanel. The function accepts a user-controlled filename argument and uses it to resolve a file path without adequate sanitization. An authenticated attacker can supply traversal sequences such as ../ within filename to escape the intended download directory. This allows arbitrary file read on the host operating system, classified under [CWE-22] Improper Limitation of a Pathname to a Restricted Directory. The attack is network-reachable and requires low privileges but no user interaction.
Root Cause
The root cause is missing or insufficient validation of the filename parameter before it is passed to the file-serving routine. The send_file handler trusts caller-supplied path segments and does not canonicalize or restrict the resolved path to an allowlisted directory.
Attack Vector
Exploitation requires an authenticated session on the aaPanel web interface. The attacker issues an HTTP request to the Download Endpoint with a crafted filename value containing directory-traversal sequences. The server resolves the path and returns the contents of files such as /etc/passwd, panel configuration files, or stored credentials. Public exploit code is available in the GitHub PoC Repository.
No verified code examples are included in this advisory. Refer to the VulDB CVE Entry and the public PoC for technical details on the request structure.
Detection Methods for CVE-2026-113505
Indicators of Compromise
- HTTP requests to the aaPanel Download Endpoint containing ../, ..%2f, or encoded traversal sequences in the filename parameter.
- Access log entries referencing BTPanel/routes/v2.py paired with filenames outside the panel's standard download directory.
- Unexpected reads of sensitive files such as /etc/passwd, /etc/shadow, or aaPanel database and configuration files.
Detection Strategies
- Inspect aaPanel and reverse-proxy access logs for traversal patterns in filename query or form parameters.
- Alert on authenticated panel sessions downloading files from paths outside expected directories.
- Correlate low-privilege account activity with file-download anomalies to surface credential misuse.
Monitoring Recommendations
- Forward aaPanel web server logs to a centralized logging platform for traversal-pattern analytics.
- Track authentication events on the panel and flag new or infrequent accounts initiating file downloads.
- Monitor host-level file access on sensitive paths for processes owned by the aaPanel service account.
How to Mitigate CVE-2026-113505
Immediate Actions Required
- Restrict network access to the aaPanel management interface using firewall rules or VPN-only exposure.
- Rotate all credentials stored on hosts running vulnerable aaPanel versions, including database and API keys.
- Audit panel user accounts and remove unused or low-trust authenticated users.
Patch Information
No fixed version is referenced in the NVD data at the time of publication. Monitor the VulDB Vulnerability Listing and the aaPanel project for a vendor-released patch and upgrade promptly when available.
Workarounds
- Place aaPanel behind a reverse proxy or Web Application Firewall (WAF) that blocks ../, ..%2f, and other traversal encodings in the filename parameter.
- Enforce strong authentication and multi-factor authentication (MFA) on all aaPanel accounts to limit exploit prerequisites.
- Run aaPanel under a least-privilege service account to reduce the scope of readable files if exploited.
# Example nginx snippet to block traversal patterns in filename parameter
if ($args ~* "filename=[^&]*(\.\./|\.\.%2f|%2e%2e)") {
return 403;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

