CVE-2026-104082: Improper Control of Generation of Code ('Code Injection') in Smartertools Smartermail
Description
SmarterMail before build 9777 contains a remote code execution vulnerability that allows an attacker holding a SysAdmin-scoped access token to bypass the Volume Mount script-directory containment control by provisioning a new mail domain with an arbitrary FileStore root path inside the trusted Scripts directory via the domain-put endpoint. Attackers can disclose the Scripts path through the AddOrUpdateMount endpoint, clear the upload extension blacklist via the global-mail endpoint, then upload a malicious script through the ordinary mail file-storage upload API so that saving a CommandMount triggers RunScript before validation, resulting in a reverse shell executing as the SmarterMail service account with SYSTEM-level privileges.
CVSS v4.0
Score 8.6high
Affected software
Smartertools
Smartermail
pkg:nuget/Smartertools/smartermailRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-104082 is a remote code execution vulnerability in SmarterMail prior to build 9777. An attacker holding a SysAdmin-scoped access token can bypass the Volume Mount script-directory containment by provisioning a mail domain with an arbitrary FileStore root path inside the trusted Scripts directory via the domain-put endpoint. The attacker can disclose the Scripts path through the AddOrUpdateMount endpoint, disable the upload extension blacklist via the global-mail endpoint, and upload a malicious script through the mail file-storage upload API. Saving a CommandMount triggers RunScript before validation, resulting in execution of a reverse shell with SYSTEM-level privileges as the SmarterMail service account.
Potential Impact
Successful exploitation allows an attacker with SysAdmin-scoped access token to execute arbitrary code remotely with SYSTEM-level privileges on the SmarterMail server. This leads to full system compromise, including the ability to run a reverse shell, bypassing normal script directory containment and upload restrictions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict SysAdmin-scoped access tokens to trusted users only and monitor for suspicious activity related to domain provisioning and script uploads.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-01T18:02:50.084Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ac9096e2cdf04f65664ff00
Added to database: 10/09/2026, 15:34:06 UTC
Last enriched: 10/09/2026, 15:48:37 UTC
Last updated: 10/09/2026, 22:44:40 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.