Skip to main content
Vulnerability Database/CVE-2026-104082

CVE-2026-104082: SmarterMail RCE Vulnerability

CVE-2026-104082 is a remote code execution vulnerability in SmarterMail before build 9777 that enables attackers with SysAdmin tokens to execute arbitrary code with SYSTEM privileges. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-104082 Overview

CVE-2026-104082 is a remote code execution vulnerability affecting SmarterMail builds prior to 9777. An attacker holding a SysAdmin-scoped access token can bypass the Volume Mount script-directory containment control. The flaw resides in the domain-put endpoint, which allows provisioning a new mail domain with an arbitrary FileStore root path inside the trusted Scripts directory. Chaining this with the AddOrUpdateMount and global-mail endpoints enables script upload and execution through a CommandMount, producing a reverse shell under the SmarterMail service account with SYSTEM-level privileges. The weakness is classified as improper control of code generation [CWE-94].

Critical Impact

Authenticated SysAdmin attackers can achieve SYSTEM-level remote code execution on SmarterMail servers before build 9777, fully compromising the mail infrastructure.

Affected Products

  • SmarterTools SmarterMail builds prior to 9777
  • SmarterMail deployments exposing the administrative API to attacker-reachable networks
  • Windows hosts running the SmarterMail service account with SYSTEM privileges

Discovery Timeline

  • 2026-10-08 - SmarterTools releases SmarterMail build 9777 addressing the issue
  • 2026-10-09 - CVE-2026-104082 published to the National Vulnerability Database
  • 2026-10-14 - Last updated in NVD database

Technical Details for CVE-2026-104082

Vulnerability Analysis

The vulnerability chains four administrative API endpoints to escape SmarterMail's Volume Mount containment model. Volume Mounts are intended to constrain file operations to specific directories. A SysAdmin can override this containment by creating a mail domain whose FileStore root points at the server's trusted Scripts directory. Once a domain's file storage overlaps the Scripts path, ordinary file-upload APIs become a mechanism for planting executable content inside a trusted execution context.

The exploit sequence resolves the Scripts path through AddOrUpdateMount, clears the global upload extension blacklist via the global-mail endpoint, uploads a malicious script using the standard mail file-storage upload API, then saves a CommandMount. Saving the CommandMount invokes RunScript before the server validates the mount, yielding code execution before any security check runs.

Root Cause

The root cause is a trust boundary violation in the domain-put endpoint, which accepts an arbitrary FileStore root without validating that it falls outside privileged directories. Combined with CommandMount's execute-before-validate order of operations, this produces an improper control of code generation condition [CWE-94].

Attack Vector

Exploitation requires network reach to the SmarterMail management interface and a valid SysAdmin access token. The attacker issues sequential API calls to disclose the Scripts path, disable extension filtering, upload a payload, and trigger CommandMount execution. The resulting shell runs with the privileges of the SmarterMail service account, which commonly maps to SYSTEM on Windows.

No verified public exploit code is included here. Refer to the VulnCheck Advisory on SmarterMail and Evan's Blog Post for the full technical write-up.

Stop Remote Code Execution Before It Runs

Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.

Stop Exploit Attempts

Detection Methods for CVE-2026-104082

Indicators of Compromise

  • Unexpected calls to the domain-put endpoint creating mail domains with FileStore roots that resolve inside the SmarterMail Scripts directory.
  • global-mail endpoint modifications that empty or shorten the upload extension blacklist.
  • New or modified files in the SmarterMail Scripts directory with executable or script extensions not matching the vendor baseline.
  • Child processes spawned by the SmarterMail service account that establish outbound network connections consistent with reverse shells.

Detection Strategies

  • Baseline the SmarterMail Scripts directory contents and alert on any additions or modifications outside maintenance windows.
  • Correlate SysAdmin API activity across AddOrUpdateMount, global-mail, file-storage upload, and CommandMount save operations within short time windows.
  • Alert on process lineage where the SmarterMail service account launches cmd.exe, powershell.exe, or script interpreters.

Monitoring Recommendations

  • Forward SmarterMail administrative API logs and Windows process creation events (Event ID 4688) to a centralized analytics platform.
  • Monitor outbound connections from the SmarterMail host to non-standard destinations, especially on high ports.
  • Audit SysAdmin token issuance and usage, flagging tokens used from unexpected source addresses.

How to Mitigate CVE-2026-104082

Immediate Actions Required

  • Upgrade SmarterMail to build 9777 or later as published in the SmarterMail Release Notes.
  • Rotate all SysAdmin API tokens and administrative credentials following the upgrade.
  • Review the Scripts directory for unauthorized files and remove any artifacts not matching the vendor-shipped baseline.
  • Audit mail domain FileStore paths and remove any domains whose FileStore root overlaps privileged directories.

Patch Information

SmarterTools addressed CVE-2026-104082 in SmarterMail build 9777, released on October 8, 2026. The fix enforces path validation on the domain-put endpoint and corrects the CommandMount execute-before-validate flow. See the VulnCheck Advisory on SmarterMail for coordinated disclosure details.

Workarounds

  • Restrict access to the SmarterMail administrative API to trusted management networks using firewall or reverse-proxy ACLs.
  • Limit the number of accounts holding SysAdmin scope and enforce multi-factor authentication on all administrative access paths.
  • Run the SmarterMail service under a least-privilege account rather than SYSTEM where supported by the deployment.
  • Monitor and restrict file write access to the SmarterMail Scripts directory using host-based controls until patching is complete.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.