CVE-2026-92553 PUBLISHED

YaySMTP <= 2.7.7 - Authenticated (Subscriber+) Arbitrary File Upload via Attachment Filename Extension

Assigner: Wordfence
Reserved: 16.09.2026 Published: 16.10.2026 Updated: 16.10.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 8.8

Product Status

Vendor yaycommerce
Product YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports
Versions Default: unaffected
  • affected from 0 to 2.7.7 (incl.)

Credits

  • Wordfence PRISM finder

References

Problem Types

  • CWE-434 Unrestricted Upload of File with Dangerous Type CWE