---
id: CVE-2026-92553
title: >-
  YaySMTP <= 2.7.7 - Authenticated (Subscriber+) Arbitrary File Upload via
  Attachment Filename Extension
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'
cvssSource: cna
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
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-16T14:54:52.200646Z'
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T15:09:38.412Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-92553'
references:
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/4abbf148-4648-440c-8a82-cf68bf051fbe?source=cve
  - url: >-
      https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.7/includes/Helper/EmailLogAttachments.php#L542
  - url: >-
      https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.7/includes/Helper/EmailLogAttachments.php#L549
  - url: >-
      https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.7/includes/Helper/EmailLogAttachments.php#L178
  - url: >-
      https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.7/includes/Helper/EmailLogAttachments.php#L106
  - url: >-
      https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.7/includes/Helper/Utils.php#L814
  - url: >-
      https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.7/includes/PluginCore.php#L37
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3739875/yaysmtp/trunk/includes/Helper/EmailLogAttachments.php
tags:
  - cve.org
epss: 0.00575
epssPercentile: 0.46275
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.

## Affected

- `yaysmtp_wp_mail_smtp_with_email_logs_tracking_reports <= 2.7.7`

## Remediation

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