CVE-2026-135625
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| mra13 | simple_download_monitor | {"endIncluding":"4.1.5"} | |
References
- https://plugins.trac.wordpress.org/browser/simple-download-monitor/tags/4.1.5/includes/admin-side/sdm-admin-edit-download.php#L376
- https://plugins.trac.wordpress.org/browser/simple-download-monitor/tags/4.1.5/includes/file-protection/sdm-file-protection-handler.php#L117
- https://plugins.trac.wordpress.org/browser/simple-download-monitor/tags/4.1.5/includes/file-protection/sdm-protected-download-request-handler.php#L18
- https://plugins.trac.wordpress.org/browser/simple-download-monitor/tags/4.1.5/includes/file-protection/sdm-protected-download-request-handler.php#L64
- https://plugins.trac.wordpress.org/browser/simple-download-monitor/tags/4.1.5/includes/sdm-download-request-handler.php#L21
- https://plugins.trac.wordpress.org/browser/simple-download-monitor/tags/4.1.5/includes/sdm-utility-file-system-related.php#L69
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3825366%40simple-download-monitor&new=3825366%40simple-download-monitor
- https://www.wordfence.com/threat-intel/vulnerabilities/id/4337295d-24bc-4d69-9b97-d9849afe8867?source=cve
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.