Skip to main content

SonicWall Email Security CVE-2026-66149

| EUVDEUVD-2026-56946 HIGH
Code Injection (CWE-94)
2026-08-11 sonicwall GHSA-c646-hgff-p944
7.8
CVSS 3.1 · Vendor: sonicwall
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain restricted CLI credentials via phishing or credential theft
  2. Delivery
    Authenticate to SonicWall Email Security restricted CLI
  3. Exploit
    Supply crafted netmask value with injected OS commands
  4. Execution
    Appliance executes injected payload as root
  5. Impact
    Achieve full appliance compromise and email data access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires authenticated access to the SonicWall Email Security restricted CLI - the attacker must possess valid credentials for an account that has been granted CLI access on the appliance. This is confirmed by CVSS PR:L (low-privilege authenticated) and AV:L (local attack vector). The specific injection point is the netmask parameter within the restricted CLI; exploitation is only possible when interacting with this parameter. Remote unauthenticated exploitation is not possible given AV:L. No special non-default configuration is required beyond the attacker having CLI-level access; the vulnerability exists in the default CLI handling of the netmask input. Exploitation is limited to users or processes that can authenticate to the restricted CLI - this rules out external, unauthenticated internet-based attackers unless initial access has already been established through another means.

Impact

The CVSS 7.8 score with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H accurately reflects the risk profile: local attack vector requires existing authenticated CLI access, which significantly limits the attacker population compared to a network-exploitable flaw. SSVC assessment from CISA rates exploitation as 'none' and automatable as 'no', meaning mass exploitation is not feasible and no active campaigns are known. Technical impact is rated 'total' by SSVC, consistent with root-level code execution. EPSS data is not present in the provided intelligence, so statistical exploitation probability cannot be quantified. The realistic threat actor is an insider, a compromised service account with CLI privileges, or an attacker who has already achieved initial access via a separate vector. Despite the restricted attack surface, organizations operating SonicWall Email Security appliances should treat this as a high-priority patch given the complete system compromise potential once CLI access is achieved.

Exploit ScenarioDerived

An attacker who has compromised a low-privilege account with access to the SonicWall Email Security restricted CLI - whether through credential theft, phishing a network administrator, or lateral movement from an already-compromised internal host - connects to the CLI and supplies a crafted netmask value containing shell metacharacters (e.g., semicolons or backtick substitution). The appliance processes the parameter without sanitization, executing the injected payload as root, giving the attacker full control of the appliance including access to all processed email, stored credentials, and the ability to pivot further into the organization's network.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 11, 2026

OS command injection in SonicWall Email Security (versions 10.0.35.8405 and earlier) allows an authenticated restricted CLI user to execute arbitrary commands as root via a crafted netmask parameter. The CVSS 7.8 score reflects complete confidentiality, integrity, and availability impact despite requiring local CLI access and low-level privileges. No public exploit code exists and CISA SSVC indicates no known exploitation at time of analysis, though successful exploitation yields full appliance compromise.

RemediationAI

The primary remediation is to upgrade SonicWall Email Security beyond version 10.0.35.8405; the exact patched version is not independently confirmed in the available data and must be obtained from the vendor advisory at https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2026-0012. As a compensating control prior to patching, restrict CLI access strictly to a minimal set of trusted administrators - audit which accounts hold CLI privileges and revoke any that are unnecessary, since the vulnerability requires authenticated CLI access to exploit. Additionally, enable logging and alerting on CLI sessions to detect anomalous netmask parameter usage. Note that restricting CLI access does not eliminate the vulnerability; it only reduces the attacker population and buys time until the patch can be applied.

Affected VersionsENISA

Email Security 10.0.35.8405 and earlier versions

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is classified as CWE-94 (Improper Control of Generation of Code - Code Injection), specifically OS command injection within SonicWall Email Security's restricted CLI interface. The restricted CLI is a constrained shell environment intended to limit what authenticated users can do on the appliance. The netmask parameter processed by this CLI fails to sanitize user-supplied input before it is incorporated into OS-level command execution, allowing an attacker to append or inject shell metacharacters that cause arbitrary commands to run in the context of the root user. CPE cpe:2.3:a:sonicwall:email_security:*:*:*:*:*:*:*:* identifies the affected component as the SonicWall Email Security software application on its dedicated appliance platform. This class of flaw typically occurs when CLI handlers construct OS commands via string interpolation rather than parameterized argument passing.

Know when Email Security gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (sonicwall) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

AV:L and PR:L reflect mandatory CLI authentication on a local appliance interface; root execution stays within the same system boundary, so S:U applies.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (sonicwall).

CVSS VectorVendor: sonicwall

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Improper Control of Generation of Code ('Code Injection') Vulnerability in the SonicWall Email Security appliance allows an authenticated attacker with access to the SonicWall Email Security restricted CLI can inject arbitrary OS commands that execute as root via netmask.

Executive ViewAI

Why It Matters

SonicWall Email Security versions 10.0.35.8405 and earlier contain an authenticated command injection vulnerability allowing restricted CLI users to execute arbitrary commands as root, resulting in complete appliance compromise including email interception and data exfiltration. No public exploit identified at time of analysis; however, successful exploitation yields full system compromise. Organizations using affected versions must immediately restrict CLI access pending vendor patch development.

Business Impact: High
Compensating Controls

Restrict CLI access to minimum necessary administrative personnel with mandatory approval workflows; implement strong authentication for all CLI sessions; enable and centralize CLI command audit logging with real-time monitoring for suspicious patterns; segment appliance management network access from general corporate networks; implement host-based intrusion detection on systems with CLI access to the appliance.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Medium
dedicated enterprise email security appliance, common in mid-to-large organizations
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2021-44228 CRITICAL POC
10.0 Dec 10

Apache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote c

CVE-2021-20021 CRITICAL POC
9.8 Apr 09

A vulnerability in the SonicWall Email Security version 10.0.9.x allows an attacker to create an administrative account

CVE-2021-20023 MEDIUM
4.9 Apr 20

SonicWall Email Security version 10.0.9.x contains a vulnerability that allows a post-authenticated attacker to read an

CVE-2021-45105 MEDIUM
5.9 Dec 18

Apache Log4j2 versions 2.0-alpha1 through 2.16.0 (excluding 2.12.3 and 2.3.1) did not protect from uncontrolled recursio

CVE-2021-20022 HIGH
7.2 Apr 09

SonicWall Email Security version 10.0.9.x contains a vulnerability that allows a post-authenticated attacker to upload a

CVE-2018-3639 MEDIUM POC
5.5 May 22

Systems with microprocessors utilizing speculative execution and speculative execution of memory reads before the addres

CVE-2021-3450 HIGH
7.4 Mar 25

The X509_V_FLAG_X509_STRICT flag enables additional security checks of the certificates present in a certificate chain.

CVE-2023-2080 CRITICAL
9.8 Jun 15

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Forcepoint Cloud S

CVE-2022-1700 CRITICAL
9.8 Sep 12

Improper Restriction of XML External Entity Reference ('XXE') vulnerability in the Policy Engine of Forcepoint Data Loss

CVE-2019-6140 CRITICAL
9.8 Apr 09

A configuration issue has been discovered in Forcepoint Email Security 8.4.x and 8.5.x: the product is left in a vulnera

CVE-2026-66150 HIGH
7.8 Aug 11

OS command injection via the SNMP-handling code path in SonicWall Email Security 10.0.35.8405 and earlier grants a low-p

CVE-2024-2166 MEDIUM
6.1 Sep 04

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Forcepoint Email S

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy