CVE-2026-15204: TOTOLIK X5000R Path Traversal Vulnerability in OpenVPN Export
A path traversal vulnerability exists in TOTOLINK X5000R routers that allows an unauthenticated remote attacker to access files outside the intended directory structure through the OpenVPN export feature. An attacker can craft requests to the vulnerable CGI endpoint to read sensitive files on the device, potentially exposing configuration data, credentials, or other confidential information stored on the router.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 5.3 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses (CWE)
- CWE-22
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-07-09 / 2026-07-14
NVD description (verbatim)
A vulnerability was detected in TOTOLINK X5000R 9.1.0cu.2415_B20250515/9.1.0cu.2350_B20230313. Affected by this vulnerability is the function exportOvpn of the file /web/cgi-bin/cstecgi.cgi of the component OpenVPN Export. The manipulation results in path traversal. The attack may be launched remotely.
7 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-15204 is a path traversal vulnerability (CWE-22) in the exportOvpn function within /web/cgi-bin/cstecgi.cgi on TOTOLIK X5000R routers running versions 9.1.0cu.2415_B20250515 and 9.1.0cu.2350_B20230313. The vulnerability allows unauthenticated remote attackers to traverse the file system and read arbitrary files by manipulating path parameters in requests to the OpenVPN export endpoint. The attack requires no authentication, no user interaction, and no special network conditions (CVSS 3.1 vector: AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N). Impact is limited to confidentiality; no modification or availability impact is possible through this vector.
Business impact
Compromise of the OpenVPN configuration export feature creates a direct path to credential theft and network reconnaissance. Attackers can extract OpenVPN credentials, pre-shared keys, certificate material, and network topology information from affected routers. In environments where TOTOLINK routers serve as perimeter or remote-access devices, this enables lateral movement into protected networks. The lack of authentication requirement means any internet-connected router is immediately exploitable without needing valid credentials or physical access.
Affected systems
TOTOLINK X5000R routers with firmware versions 9.1.0cu.2415_B20250515 and 9.1.0cu.2350_B20230313 are confirmed affected. Organizations using these models should inventory affected devices and prioritize patching. The X5000R is marketed as a dual-band 802.11ac router with built-in VPN capabilities, making it common in small-to-medium business and remote office deployments where OpenVPN is used for secure access.
Exploitability
This vulnerability is readily exploitable. The attack requires only network access to the router's web interface (default port 80/443) and can be triggered with simple HTTP requests; no complex exploitation techniques or race conditions are needed. The absence of authentication requirements and the straightforward nature of path traversal attacks mean that automated scanning and exploitation tools could easily target vulnerable devices. Public PoC code would be trivial to develop, making mass exploitation a realistic threat once disclosure is complete.
Remediation
Vendors should issue a firmware patch addressing the path traversal by validating and sanitizing all user-supplied path parameters in the exportOvpn function, ensuring directory traversal sequences (.., /) cannot escape the intended export directory. Until patching is available, network controls should restrict access to the router's web administrative interface to trusted networks only, and the OpenVPN export feature should be disabled if not actively required. Consider replacing or isolating affected devices in production environments where credential theft poses unacceptable risk.
Patch guidance
Monitor TOTOLINK's security advisory channels and firmware download pages for patched versions addressing CVE-2026-15204. When updates become available, verify patch details against the vendor advisory before deployment. Apply patches promptly to all affected X5000R units, prioritizing internet-facing or boundary routers. Test patches in a non-production environment first, as firmware updates may affect VPN connectivity or other services. Maintain a current inventory of deployed TOTOLIK firmware versions to track patch rollout status across your infrastructure.
Detection guidance
Monitor HTTP/HTTPS access logs on affected routers for suspicious patterns in requests to /web/cgi-bin/cstecgi.cgi, particularly those with encoded or literal path traversal sequences in parameters related to OpenVPN export functions. Network intrusion detection signatures should be deployed to flag requests containing ../, ..\, or excessive directory traversal attempts targeting the vulnerable endpoint. Conduct file-system audits to detect unauthorized reads of sensitive files (e.g., /etc/passwd, OpenVPN key material, configuration files) that might indicate successful exploitation. Enable verbose logging on the router if available to capture detailed CGI request parameters.
Why prioritize this
Although rated MEDIUM severity, this vulnerability merits prioritization due to the complete lack of authentication and the direct exposure of credentials and sensitive network configuration. Path traversal attacks are well-understood, easily exploitable, and pose immediate risk to any organization using these routers for VPN access. The leaked OpenVPN credentials could enable persistent, undetected access to corporate networks. Early patching prevents credential compromise and reduces operational risk across dependent network segments.
Risk score, explained
CVSS 3.1 score of 5.3 reflects the confidentiality impact (unauthenticated access to sensitive files) balanced against the lack of impact on integrity or availability. The MEDIUM rating appropriately accounts for the practical severity of credential exposure while acknowledging that the attack does not directly disrupt router services or allow file modification. In risk-prioritization frameworks that weight credential theft heavily—as most mature security programs do—the practical risk may exceed the numerical CVSS score.
Frequently asked questions
Can the attacker modify or delete files using this vulnerability?
No. The path traversal vulnerability permits unauthorized file reading only. The CVSS vector (I:N) confirms no integrity impact; attackers cannot modify, delete, or corrupt files through this attack vector. However, exfiltrated credentials or keys can be used to modify systems downstream.
Does this vulnerability require authentication to exploit?
No. The vulnerability is exploitable by unauthenticated remote attackers. No valid username, password, or API key is needed to trigger the path traversal. Any attacker with network access to the router's web interface can attempt exploitation.
Are older versions of TOTOLIK X5000R firmware affected?
The advisory specifies versions 9.1.0cu.2415_B20250515 and 9.1.0cu.2350_B20230313. Verify your device's current firmware version against these identifiers. If you operate other TOTOLIK router models or older/newer X5000R firmware versions, consult the vendor's security advisory for a complete list of affected firmware releases.
What should we do immediately if we cannot patch right now?
Restrict network access to the router's management interface to authorized IP addresses or VLANs only. Disable the OpenVPN export feature if it is not actively in use. Monitor access logs for suspicious requests to the vulnerable endpoint. Prioritize patching this device in your next maintenance window, as the ease of exploitation makes continued exposure risky.
This analysis is based on the CVE description and CVSS vector provided. SEC.co makes no warranty regarding exploit availability, real-world prevalence, or the completeness of affected versions. Organizations should verify patch availability and applicability with TOTOLIK directly before taking remediation action. This page does not constitute legal or compliance advice. Security teams should conduct their own risk assessment based on their network environment, threat model, and business context. No proof-of-concept code or weaponized exploitation details are provided or endorsed. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2018-25393MEDIUMNavigate CMS 2.8.5 Path Traversal Vulnerability (CVSS 6.5)
- CVE-2018-25421MEDIUMOpen STA Manager 2.3 Path Traversal File Download Vulnerability
- CVE-2019-25734MEDIUMContact Form by WD CSRF & Local File Inclusion Vulnerability
- CVE-2019-25740MEDIUMJoomla com_jsjobs Arbitrary File Deletion Vulnerability
- CVE-2022-50953MEDIUMWordPress admin-word-count-column Plugin Local File Read Vulnerability
- CVE-2024-47263MEDIUMSynology Hyper Backup Path Traversal – Admin Privilege Required
- CVE-2024-47273MEDIUMSynology Hyper Backup Path Traversal Vulnerability (4.3 MEDIUM)
- CVE-2025-24268MEDIUMmacOS Path Traversal Vulnerability – Patch Sequoia 15.4