---
id: CVE-2026-92553
title: >-
  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
summary: >-
  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 valida…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-434
vendor: yaycommerce
product: 'YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports'
affected:
  - yaysmtp_wp_mail_smtp_with_email_logs_tracking_reports <= 2.7.7
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T15:17:35.653'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-92553'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.7/includes/Helper/EmailLogAttachments.php#L106
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.7/includes/Helper/EmailLogAttachments.php#L178
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.7/includes/Helper/EmailLogAttachments.php#L542
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.7/includes/Helper/EmailLogAttachments.php#L549
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.7/includes/Helper/Utils.php#L814
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.7/includes/PluginCore.php#L37
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3739875/yaysmtp/trunk/includes/Helper/EmailLogAttachments.php
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/4abbf148-4648-440c-8a82-cf68bf051fbe?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
epss: 0.00559
epssPercentile: 0.46343
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-16T14:54:52.200646Z'
ingestedAt: '2026-10-16T07:01:11.480Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
