CriticalCVE-2025-52691

    Upload Arbitrary Files (CVE-2025-52691)

    Published Last modified In CISA KEV since Sources: CVE.org, pwn.watch

    What is affected, what to do

    Successful exploitation of the vulnerability could allow an unauthenticated attacker to upload arbitrary files to any location on the mail server, potentially enabling remote code execution.

    The vulnerability is being actively exploited; treat it as a priority. CISA lists it as used in ransomware campaigns. Update smartermail to version 100.0.9413. Immediate actions, mitigation and detection rules are in the runbook below.

    Affected
    • SmarterTools SmarterMail eq SmarterMail versions Build 9406 and earlier..SmarterMail versions Build 9406 and earlier

    Not sure whether and how you are affected? Ask a question about this vulnerability

    Metrics

    10.0

    Priority

    XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.

    Source: NVD, CVSS v3

    10.0

    CVSS v3

    Severity Critical on the scale from 0 to 10.

    Source: CVE.org, pwn.watch

    85.7 %

    EPSS score

    High — model estimates ≥ 50% chance of real-world exploitation within 30 days.

    Source: FIRST EPSS, percentile 99.73

    Show all metrics
    Severity
    Critical
    Priority (0–325)

    The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?

    Read in glossary
    267.76 Methodology
    Exploit maturity

    An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.

    Read in glossary
    actively exploitedSource: VulnCheck KEV (opens in a new tab) How we classify
    XIEM Effective CVSS

    XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.

    Read in glossary
    10.0 Methodology
    CVSS v3

    CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.

    Read in glossary
    10.0
    EPSS score

    The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.

    Read in glossary
    85.7 %
    High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
    EPSS percentile

    The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.

    Read in glossary
    99.73
    Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
    KEV status

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    Actively exploited
    Published
    In CISA KEV since

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary

    Response and mitigation

    Why act now?

    Prioritisation rationale

    The flaw is network-reachable without authentication or user interaction, has a changed scope, and results in full takeover of the mail server. It ranks among the CVEs most likely to be exploited, and CISA flags it for known ransomware use. Attackers typically drop a webshell, harvest mailboxes and credentials, then pivot inward. Common targets are SMBs, hosting providers and organisations running SmarterMail as a low-cost, internet-facing Exchange alternative. Treat every internet-exposed instance as critical with immediate action required, including a forensic check before patching. Internal-only instances are still high priority and should be patched within days.

    1. Runbook step 1

      Immediate response (0-24 h)

      • Inventory: Find every SmarterMail instance and confirm the build via the web UI About page or the file version of MailService.exe. Per the context, build 100.0.9413 is affected. Treat any instance on that build or older as potentially compromised until proven otherwise.
      • Patch: Upgrade to the current SmarterMail build. A patch is available from the vendor; look up the fixed build number in the SmarterTools advisory or release notes. Snapshot or image the server before upgrading so forensic evidence is preserved.
      • Reduce exposure: If you cannot patch immediately, restrict the webmail and admin interface at the perimeter to VPN or corporate IP ranges. This typically means TCP 80/443 or whatever custom web port is configured. SMTP/IMAP/POP3 (25/587/465, 143/993, 110/995) can stay open, because the flaw sits in the web upload path.
      • Hunt for compromise: Sweep the install and web directories (e.g. C:\Program Files (x86)\SmarterTools\SmarterMail\) for files created or modified since build 9413 was deployed. Focus on .aspx, .ashx, .asmx, .config, .dll, .exe, .ps1 and .bat. Preserve anything you find rather than deleting it.
      • Rotate credentials: If compromise is suspected, rotate:
        • SmarterMail system-admin and domain-admin accounts
        • the SmarterMail service account
        • any AD/LDAP bind or SMTP relay credentials stored on the host
      • Check reporting duties: Assess NIS2/BSIG reporting thresholds early (24 h early warning). Also assess GDPR Art. 33, since mailbox contents are personal data and this flaw is known to be used in ransomware campaigns.
    2. Runbook step 2

      Mitigation layers

      • Network segmentation: Place the mail server in a DMZ with no direct paths to internal networks. Allow egress only for SMTP (TCP 25) to defined smarthosts and for DNS. Block outbound HTTP/HTTPS, SMB (445) and RDP (3389) from the host to stop tool staging and lateral movement.
      • WAF/reverse proxy: Publish the web UI only through a reverse proxy with a WAF. Block:
        • multipart uploads whose filename= contains traversal sequences (../, ..\, %2e%2e, %5c) or absolute paths (C:\)
        • dangerous extensions (.aspx|.ashx|.asmx|.config|.dll|.exe|.cshtml)
        • upload requests lacking a valid authenticated session cookie
      • Endpoint hardening:
        • Use AppLocker/WDAC to deny execution of binaries and scripts from SmarterMail data and web directories.
        • Use an ASR rule or EDR policy to block the SmarterMail process from spawning cmd.exe, powershell.exe or rundll32.exe.
      • Least privilege: Run the service under a dedicated account rather than LocalSystem. Grant NTFS write access only to data and log directories, not to program or web-root directories.
      • Integrity monitoring: Enable file integrity monitoring (FIM) on the SmarterMail program directory and alert on any change outside planned maintenance windows.
      • Backups: Keep offline or immutable backups of mailbox data and test restores, given the confirmed ransomware use.
    3. Runbook step 3

      Detection rules

      • Sysmon EID 11 (FileCreate):
        • Trigger: the SmarterMail process (MailService.exe, or w3wp.exe when hosted on IIS) writes executable or web-script files outside mailbox data paths.
        • KQL: DeviceFileEvents | where InitiatingProcessFileName in~ ("MailService.exe","w3wp.exe") | where FileName matches regex @"\.(aspx|ashx|asmx|dll|exe|ps1|bat|config)$"
      • Process ancestry (Sysmon EID 1 / EDR):
        • Trigger: MailService.exe or w3wp.exe spawning cmd.exe, powershell.exe, certutil.exe, bitsadmin.exe or whoami.exe.
        • Sigma shape: ParentImage|endswith: '\MailService.exe' AND Image|endswith: ['\cmd.exe','\powershell.exe']
      • Web access logs: Look for:
        • POSTs to upload functions from source IPs with no prior successful login
        • subsequent GETs to previously unseen .aspx/.ashx paths, the classic webshell pattern
        • URL-encoded traversal sequences in the body or query string
      • Network telemetry (Zeek/Suricata): New outbound connections from the mail server to external IPs over HTTP/HTTPS or unusual ports. Large outbound transfers suggest mailbox exfiltration.
      • Windows events:
        • Event ID 4720/4732: new local accounts or group memberships on the mail server.
        • Event ID 7045: new services.
        • Event ID 4698: scheduled tasks created shortly after suspicious uploads.

    Detection rules

    No NEOSEC detection rule is available for this vulnerability yet.

    Classification under NIS2 and CRA

    Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.

    NIS2

    NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.

    Read in glossary
    Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
    CRA

    The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.

    Read in glossary
    Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
    ISO/IEC 27001

    ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.

    Read in glossary
    Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.

    Description

    Successful exploitation of the vulnerability could allow an unauthenticated attacker to upload arbitrary files to any location on the mail server, potentially enabling remote code execution.

    Source: NVD (NIST), cvelistv5, CISA KEV Catalog, CVE.org (MITRE), pwn.watch

    Affected products

    The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.

    Affected products
    Affected versionsFixed in
    SmarterToolsSmarterMail
    • SmarterMail versions Build 9406 and earlier
    • —
    smartertoolssmartermail
    • < 100.0.9413
    • 100.0.9413

    Vendors and products

    Public exploit references

    Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.

    Public exploit references
    CISA KEV CatalogCISA Known Exploited Vulnerability (opens in a new tab)cisa.govactively exploited
    GitHubwatchtowrlabs/watchTowr-vs-SmarterMail-CVE-2025-52691 (opens in a new tab)github.comPoC (publicly reported)reported, not verified—

    References & sources

    • csa.gov.sgalerts-and-advisories/alerts/al-2025-124
    • github.comwatchtowrlabs/watchTowr-vs-SmarterMail-CVE-2025-52691?ref=labs.…Exploit
    • cisa.govknown-exploited-vulnerabilities-catalog?field_cve=CVE-2025-52691government-resource
    • pwn.watchpwn.watch: SmarterTools SmarterMail: SmarterTools SmarterMail Unrestricted Upload of File with Dangerous Type Vulnerabilitypwn-watch
    • smartertools.comSmarterTools SmarterMail — CVE-2025-52691pwn-watch
    • NVD (NIST)NVD: CVE-2025-52691pwn-watch
    • NVD (NIST)NVD: CVE-2026-23760pwn-watch
    • cisa.govCISA Known Exploited Vulnerabilities Catalogpwn-watch

    Reanalysis & status changes

    Chronological NVD audit events for this CVE — reanalyses, CVSS updates, CPE diffs.

    1. CVE Translatednvd@nist.gov

      • Translation: after Title: SmarterMail de SmarterTools, Description: La explotación exitosa de la vulnerabilidad podría permitir a un atacante no autenticado subir archivos arbitrarios a cualquier ubicación en el servidor de correo, potencialmente habilitando la ejecución remota de código.
    Embed badge

    Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.

    Badge preview for CVE-2025-52691
    <a href="https://intel.neosec.eu/en/cve/CVE-2025-52691"><img src="https://intel.neosec.eu/badge/cve/CVE-2025-52691.svg?lang=en" alt="CVE-2025-52691 – NEOSEC Intel" height="20"></a>