PT-2026-164538
CVE-2026-135625
·
Published
2026-12-01
·
Updated
2026-12-01
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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. Found an issue in the description? Have something to add? Feel free to write us 👾