SmarterMail Unauthenticated Admin Password Reset (CVE-2026-0001 / WT-2026-0001)
by HORKimhab (mirror/publisher); underlying research credited to watchtowr labs and g0vguy (original WT-2026-0001 writeup/exploit) · 2026-07-05
- Severity
- Critical
- CVE
- CVE-2026-0001 (tracked publicly as WT-2026-0001)
- Category
- web
- Affected product
- SmarterTools SmarterMail (webmail/admin control panel), typically on port 9998
- Affected versions
- Builds prior to 9511 (patched 2026-01-15)
- Disclosed
- 2026-07-05
- Patch status
- patched
Tags
References
Archive entry
intelseclab/poc-archiveMetadata
| Field | Value |
|---|---|
| Date Added | 2026-07-05 |
| Last Updated | 2026-06 |
| Author / Researcher | HORKimhab (mirror/publisher); underlying research credited to watchtowr labs and g0vguy (original WT-2026-0001 writeup/exploit) |
| CVE / Advisory | CVE-2026-0001 (tracked publicly as WT-2026-0001) |
| Category | web |
| Severity | Critical |
| CVSS Score | Not specified in source (repo estimates “9.0+”) |
| Status | PoC |
| Tags | smartermail, auth-bypass, password-reset, email-server, unauthenticated, rce-chain, smartertools, api |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | SmarterTools SmarterMail (webmail/admin control panel), typically on port 9998 |
| Versions Affected | Builds prior to 9511 (patched 2026-01-15) |
| Language / Platform | Python 3 (requests-based HTTP client) |
| Authentication Required | No |
| Network Access Required | Yes |
Summary
SmarterMail exposes an /api/v1/auth/force-reset-password endpoint intended for authenticated self-service password resets, but the handler fails to validate the caller’s identity when the request body sets IsSysAdmin to true. Sending a crafted JSON payload with an arbitrary OldPassword value causes the server to accept the request and overwrite the system administrator’s password with an attacker-chosen value, with no prior session or credentials required. Once the admin password is reset, an attacker can log into the SmarterMail admin panel and abuse the built-in “Volume Mount Command” feature under Settings to execute arbitrary OS commands, escalating the bug into full server compromise. The PoC (smartermail_poc.py) sends the crafted reset request directly and reports whether the reset succeeded based on the JSON response.
Vulnerability Details
Root Cause
The force-reset-password API handler treats the client-supplied IsSysAdmin flag as authoritative and skips old-password verification for that code path, allowing any unauthenticated caller to reset the sysadmin account’s credentials.
Attack Vector
- Attacker identifies a SmarterMail instance (default admin panel port 9998).
- Attacker sends an unauthenticated
POST /api/v1/auth/force-reset-passwordwithIsSysAdmin: true, a targetUsername(defaultadmin), an arbitraryOldPassword, and a chosenNewPassword/ConfirmPassword. - Vulnerable servers return
"success": trueand the sysadmin password is overwritten. - Attacker logs into the admin panel with the new credentials.
- Attacker navigates to Settings → Volume Mounts and uses the “Volume Mount Command” field to execute OS commands, achieving RCE.
Impact
Unauthenticated takeover of the SmarterMail system administrator account, which can be chained into full remote code execution on the mail server host.
Environment / Lab Setup
Target: SmarterTools SmarterMail build < 9511, admin panel reachable on TCP/9998
Attacker: Python 3.6+, `requests` library
Proof of Concept
PoC Script
See
smartermail_poc.pyin this folder.
| |
The script POSTs the crafted force-reset-password payload to the target, prints the HTTP status and JSON response, and confirms success when the response reports "success": true, at which point the attacker can log in with the new admin credentials.
Detection & Indicators of Compromise
Signs of compromise:
- Unexplained sysadmin login or password-change events with no corresponding support/help-desk request
- Requests to
force-reset-passwordfrom source IPs never previously associated with admin sessions - Execution of unexpected OS commands via the Volume Mount configuration feature
Remediation
| Action | Detail |
|---|---|
| Primary fix | Upgrade to SmarterMail build 9511 or later (released 2026-01-15) |
| Interim mitigation | Block or restrict access to /api/v1/auth/force-reset-password at the firewall/WAF, enforce IP allow-listing for the admin interface, and monitor sysadmin account activity closely |
References
Notes
Mirrored from https://github.com/HORKimhab/CVE-2026-0001 on 2026-07-05.
| |