CVE-2026-135625: Simple Download Monitor <= 4.1.5 - Unauthenticated Path Traversal to File Read via 'sdm_upload' Parameter
The Simple Download Monitor plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 4.1.5 via the sdmupload parameter. The vulnerability exists because SDMUtilsFileSystemRelated::getuploadedfilepathfromurl() strips a fixed number of characters from the stored download URL without verifying the URL begins with the expected $wpcontenturl prefix, performs no post-realpath() containment check to confirm the resolved path stays within the sdm-uploads directory, and relies on SDMFileProtectionHandler::containsprotecteddirname() — a substring regex that matches uploads/sdm-uploads anywhere in the URL rather than enforcing a structural prefix — while escurlraw() 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 sdmdownloads post's sdmupload 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 /?sdmprocessdownload=1&downloadid=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.
Affected Software
Event History
Frequently Asked Questions
Who can set up exploitation, and who can access the exposed files?
An authenticated user who can edit an sdm_downloads post and set its sdm_upload field can set up the malicious download URL. By default this requires Administrator-level access, but lower-privileged users may be able to do so if the site owner reduced the plugin's Admin Dashboard Access Permission setting; once configured, any unauthenticated visitor can retrieve the targeted file.
What files could be exposed?
The issue can stream non-PHP files located outside the uploads directory. Examples identified include .bak, .log, .sql, and .sqlite files.
Is a default installation exposed to unauthenticated setup of the malicious download?
No. The described default permission level requires Administrator access to create the crafted sdm_upload value. Unauthenticated users can subsequently access a file only after a permitted authenticated user has stored a malicious traversal URL.
How can I assess whether lower-privileged accounts can set up exploitation?
Review the plugin's Admin Dashboard Access Permission setting. If it has been reduced from the Administrator-level default, users granted that reduced level may be able to create the crafted download entry.