Simple Download Monitor <= 4.1.5 - Unauthenticated Path Traversal to File Read via 'sdm_upload' Parameter
Strategic Overview
- Status
- Patched in 4.1.6
- Affected Plugin
- Simple Download Monitor
- Affected Version
<= 4.1.5- CVSS
- 7.5High
- Weakness type
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory
- CVE
CVE-2026-135625
At a glance
CVE-2026-135625 is a high-severity Improper Limitation of a Pathname to a Restricted Directory vulnerability in the Simple Download Monitor WordPress plugin, affecting versions <= 4.1.5. It carries a CVSS score of 7.5 (reachable over the network; low attack complexity; high confidentiality impact). Exploitation requires no authentication. The issue is fixed in version 4.1.6; sites on affected versions should update now. Disclosed November 2026, reported by Wordfence PRISM.
Vulnerability Overview
The Simple Download Monitor plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 4.1.5 via the `sdm_upload` parameter. The vulnerability exists because `SDM_Utils_File_System_Related::get_uploaded_file_path_from_url()` strips a fixed number of characters from the stored download URL without verifying the URL begins with the expected `$wp_content_url` prefix, performs no post-`realpath()` containment check to confirm the resolved path stays within the sdm-uploads directory, and relies on `SDM_File_Protection_Handler::contains_protected_dirname()` — a substring regex that matches `uploads/sdm-uploads` anywhere in the URL rather than enforcing a structural prefix — while `esc_url_raw()` on the save path leaves `../` sequences intact. This makes it possible for authenticated attackers with Administrator-level access (or lower, if the site owner has reduced the plugin's "Admin Dashboard Access Permission" setting) to store a crafted traversal URL in an sdm_downloads post's `sdm_upload` field, enabling any unauthenticated visitor to subsequently stream non-PHP server files outside the uploads directory — including `.bak`, `.log`, `.sql`, `.sqlite`, `.conf`, `.ini`, `.inc`, and `.zip` files such as wp-config.php backups, database dumps, and debug logs — via a single GET request to `/?sdm_process_download=1&download_id=N`. PHP, CGI, and executable file extensions are blocked by the plugin's extension blocklist, but that blocklist does not cover the file types listed above, and no authentication or capability check is enforced at the download-streaming endpoint.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user. A successful exploit has high impact on confidentiality.
CWE-22: Improper Limitation of a Pathname to a Restricted Directory
Simple Download Monitor <= 4.1.5 carries this weakness at get_uploaded_file_path_from_url(), and reaching it takes no account at all. Path traversal happens when user-controlled text is used to build a filesystem path without being constrained to an intended directory, so sequences like ../ walk the resolved path somewhere else.
Depending on the operation, it means reading files outside the intended folder — wp-config.php being the usual target — or writing to and deleting paths the web server can touch. For Simple Download Monitor the fix is 4.1.6: builds <= 4.1.5 are affected, anything from 4.1.6 onward is not.
Remediation
Update to version 4.1.6, or a newer patched version
How does WordSec protect against this?
Requests carrying this pattern arrive without a session, so nothing upstream of the firewall gets a chance to reject them: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Simple Download Monitor 4.1.6 closes this, and updating the plugin is the step that ends it.
- Firewall
- Login Security
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in Simple Download Monitor
- 9.9Simple Download Monitor <= 3.2.8 Missing Authorization
- 9.0CVE-2021-24693: Simple Download Monitor Contributor+ Stored XSS
CVE-2021-24693 - 8.8CVE-2021-24696: Simple Download Monitor Multiple CSRF vulnerabilities
CVE-2021-24696 - 8.8CVE-2020-5651: Simple Download Monitor <= 3.8.8 SQL Injection
CVE-2020-5651 - 6.5CVE-2025-8977: Simple Download Monitor Simple Download Monitor <=
CVE-2025-8977 - 6.4CVE-2026-2383: Simple Download Monitor <= 4.0.5 Stored XSS
CVE-2026-2383 - 6.4CVE-2025-58197: Simple Download Monitor <= 3.9.34 Stored XSS
CVE-2025-58197 - 6.4CVE-2018-5212: Simple Download Monitor < 3.5.4 Stored XSS
CVE-2018-5212
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C