CVE-2026-92553
8.8 HIGHPublished 2026-10-16 · Updated 2026-10-16
AI risk analysis
- Summary
- The YaySMTP plugin allows authenticated users to upload arbitrary files without proper validation, enabling attackers to upload executable files that can lead to remote code execution on vulnerable servers.
- Exploitability
- Exploitation requires a subscriber-level account or higher, with minimal technical prerequisites and high success rate on affected server configurations.
- Blast radius
- The vulnerability could allow attackers to execute arbitrary code on the WordPress server, potentially leading to full system compromise and data exfiltration across all sites using the vulnerable plugin version.
- Detection
- Monitor for unusual file uploads in the wp-content/uploads directory with executable extensions (.php, .phtml, .phar) and check for new .htaccess files in upload directories that may indicate successful exploitation attempts.
- Prioritized remediation
- Upgrade to version 2.7.8 or later to remediate this vulnerability.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
The YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 2.7.7 via the putFile function. This is due to insufficient file type validation in the putFile function, as sanitize_file_name() does not strip executable extensions and no allow-list, MIME check, or safe-extension rename is applied. This makes it possible for authenticated attackers, with subscriber-level access and above, to upload files that may be executable, which makes remote code execution possible. The only server-side guard is a .htaccess file containing 'Require all denied' written by writeGuards(), which is silently ignored by nginx and by Apache configured with AllowOverride None, meaning RCE is fully achievable on those server configurations.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-434
References
- https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.7/includes/Helper/EmailLogAttachments.php#L106
- https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.7/includes/Helper/EmailLogAttachments.php#L178
- https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.7/includes/Helper/EmailLogAttachments.php#L542
- https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.7/includes/Helper/EmailLogAttachments.php#L549
- https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.7/includes/Helper/Utils.php#L814
- https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.7/includes/PluginCore.php#L37
- https://plugins.trac.wordpress.org/changeset/3739875/yaysmtp/trunk/includes/Helper/EmailLogAttachments.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/4abbf148-4648-440c-8a82-cf68bf051fbe?source=cve
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.