Simple Download Monitor Plugin Vulnerability (CVE-2026-135625)

On this page

Security Alert Summary

The Simple Download Monitor plugin for WordPress (all versions up to and including 4.1.5) contains a path traversal vulnerability in the handling of the sdm_upload parameter. An authenticated user who can save crafted values into an sdm_downloads post can cause unauthenticated visitors to stream non-PHP files outside the intended uploads directory via a single GET request to the plugin’s download endpoint.

CVE Details

  • CVE ID: CVE-2026-135625
  • Affected component: Simple Download Monitor plugin for WordPress
  • Affected versions: All versions up to and including 4.1.5
  • Published: December 1, 2026 at 6:17:26 AM UTC
  • Last modified: December 1, 2026 at 6:17:27 AM UTC
  • CVSS v3.1: Base Score 7.5, Severity: HIGH, Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Authentication / Privileges / User interaction (from CVSS): Privileges Required: NONE; User Interaction: NONE
  • Primary impact: Confidentiality: HIGH; Integrity: NONE; Availability: NONE
  • CWE: CWE-22 (Path Traversal)

Technical Details

The vulnerability arises from how the plugin resolves and validates stored download URLs. The function SDM_Utils_File_System_Related::get_uploaded_file_path_from_url() removes a fixed number of characters from the stored download URL without first verifying the URL begins with the expected $wp_content_url prefix. After calling realpath() the code performs no containment check to confirm the resolved path remains inside the sdm-uploads directory. The plugin also relies on SDM_File_Protection_Handler::contains_protected_dirname(), which uses a substring regex matching uploads/sdm-uploads anywhere in the URL instead of enforcing a structural prefix. Additionally, esc_url_raw() on the save path leaves ../ sequences intact.

As a result, an authenticated actor able to store a crafted traversal URL in an sdm_downloads post’s sdm_upload field can cause the plugin to resolve paths outside the uploads directory. The plugin exposes a download-streaming endpoint reachable via a GET request such as /?sdm_process_download=1&download_id=N. That endpoint does not enforce authentication or capability checks for streaming these files. The plugin’s extension blocklist prevents streaming of PHP, CGI, and executable extensions, but it does not block file types like .bak, .log, .sql, .sqlite, .conf, .ini, .inc, and .zip. These file types can include configuration backups, database dumps, and logs.

This behavior allows unauthenticated visitors to stream non-PHP server files outside the intended uploads directory if a crafted URL has been previously saved by an authenticated user.

How This Could Impact Your Website

Consider a typical small-team WordPress site with a site owner, internal staff (editors or content managers), and an external contractor who uploads download records. If an authenticated user with the ability to edit or create sdm_downloads posts stores a crafted sdm_upload URL, any visitor can retrieve files outside the uploads directory via a single GET request. Exposed files could include wp-config.php backups, database export files, or debug logs that contain database credentials, API keys, or other sensitive information.

Practical consequences include disclosure of internal configuration and user-related data, and an increased risk of targeted phishing or social engineering using information gleaned from exposed files. The vulnerability specifically impacts confidentiality; it does not directly modify site content or availability according to the reported CVSS impacts.

If you\’re unsure whether your site is affected or how to assess your current user roles and plugins, it may be worth having a professional review your setup.

Recommended Actions

  • Update the affected plugin as soon as a patched version is available.
  • Review and reduce unnecessary user roles and capabilities, especially for contributor-level and editor-level accounts.
  • Enforce strong passwords and enable two-factor authentication for editors and administrators.
  • Remove unused or unmaintained plugins from the site.
  • Monitor site activity and access logs for unusual behavior, including unexpected downloads via the sdm_process_download endpoint.

If you\’d like help reviewing your plugins, user roles, or overall WordPress security posture, our team at Freshy is happy to help.


References