
CVE-2025-52691 Scanner - Detects vulnerable SmarterMail installations (CVSS 10.0 RCE)
CVSS 10.0 RCE vulnerability in SmarterMail. Is your mail server vulnerable?
Fast, accurate scanner for CVE-2025-52691 - a critical unauthenticated arbitrary file upload vulnerability that enables remote code execution on SmarterMail servers.
CVE-2025-52691 is a maximum severity (10.0 CVSS) vulnerability in SmarterMail that allows unauthenticated remote code execution through arbitrary file upload.
Key Facts:
Node.js Scanner:
Bash Scanner:
# Verify Node.js version
node --version # Should be v12.0.0 or higher
# Verify curl (for Bash scanner)
curl --version
# Clone and run
git clone https://github.com/nxgn-kd01/smartermail-cve-scanner.git
cd smartermail-cve-scanner
node scan.js https://mail.example.com
# Clone and run
git clone https://github.com/nxgn-kd01/smartermail-cve-scanner.git
cd smartermail-cve-scanner
chmod +x scan.sh
./scan.sh https://mail.example.com
# Node.js version
curl -O https://raw.githubusercontent.com/nxgn-kd01/smartermail-cve-scanner/main/scan.js
node scan.js https://mail.example.com
# Bash version
curl -O https://raw.githubusercontent.com/nxgn-kd01/smartermail-cve-scanner/main/scan.sh
chmod +x scan.sh
./scan.sh https://mail.example.com
# Using Node.js
node scan.js https://mail.example.com
# Using Bash
./scan.sh https://mail.example.com
node scan.js https://mail.example.com --verbose
./scan.sh https://mail.example.com -v
node scan.js https://mail.example.com --json
./scan.sh https://mail.example.com --json
node scan.js https://mail.example.com --ci
./scan.sh https://mail.example.com --ci
| Code | Meaning |
|---|---|
| 0 | Not vulnerable or scan completed |
| 1 | Vulnerable (when using --ci flag) |
| 2 | Scan error occurred |
+============================================================+
| CVE-2025-52691 Scanner (SmarterMail RCE) |
+============================================================+
Severity: CRITICAL (CVSS 10.0)
Type: Unauthenticated Arbitrary File Upload -> RCE
[INFO] Scanning target: https://mail.example.com
Scan Results:
Target: https://mail.example.com
SmarterMail detected
Version: 100.0.9350
Build: 9350
STATUS: VULNERABLE
Build 9350 is affected by CVE-2025-52691
Remediation:
$ Upgrade to SmarterMail Build 9483 or later
$ Download: https://www.smartertools.com/smartermail/downloads
Scan Results:
Target: https://mail.example.com
SmarterMail detected
Version: 100.0.9483
Build: 9483
STATUS: NOT VULNERABLE
Build 9483 is patched
{
"vulnerability": "CVE-2025-52691",
"name": "SmarterMail RCE",
"severity": "CRITICAL",
"cvss": 10,
"target": "https://mail.example.com",
"smartermail_detected": true,
"version": "100.0.9350",
"build": 9350,
"status": "vulnerable",
"vulnerable": true,
"vulnerable_max_build": 9406,
"patched_min_build": 9413,
"recommended_build": 9483
}
name: SmarterMail Security Scan
on:
schedule:
- cron: '0 6 * * *' # Daily at 6 AM
workflow_dispatch:
jobs:
scan:
runs-on: ubuntu-latest
steps:
- name: Download Scanner
run: |
curl -O https://raw.githubusercontent.com/nxgn-kd01/smartermail-cve-scanner/main/scan.js
- name: Scan Mail Server
run: node scan.js ${{ secrets.MAIL_SERVER_URL }} --ci
security-scan:
stage: test
image: node:18
script:
- curl -O https://raw.githubusercontent.com/nxgn-kd01/smartermail-cve-scanner/main/scan.js
- node scan.js $MAIL_SERVER_URL --ci
allow_failure: false
The scanner:
node scan.js https://your-mail-server.com
Download the latest version from: https://www.smartertools.com/smartermail/downloads
node scan.js https://your-mail-server.com --ci
If immediate upgrade is not possible:
Contributions are welcome! Please feel free to submit issues or pull requests.
MIT License - see LICENSE file for details
AUTHORIZED USE ONLY
This tool is intended for:
You must have explicit authorization before scanning any system.
Unauthorized scanning of computer systems may violate laws including but not limited to:
The authors of this tool:
By using this tool, you acknowledge that you have the legal right to scan the target systems and accept full responsibility for your actions.
Stay safe and keep your mail servers updated!
| Option | Description |
|---|
-v, --verbose | Show detailed output |
--json | Output results as JSON |
--ci | Exit with code 1 if vulnerable (for CI/CD) |
-t, --timeout | Connection timeout (default: 10s/10000ms) |
-h, --help | Show help message |
| Property | Value |
|---|
| CVE ID | CVE-2025-52691 |
| CVSS Score | 10.0 (CRITICAL) |
| CVSS Vector | AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| Attack Vector | Network |
| Authentication | None required |
| Impact | Complete system compromise |