SonicWall GMS Unauthenticated RCE and Patch Bypass
Score: 8/10

SonicWall GMS Unauthenticated RCE and Patch Bypass

An unauthenticated attacker can achieve root Remote Code Execution on SonicWall GMS by chaining multiple patch bypasses for legacy vulnerabilities.

Executive Summary

SonicWall Global Management System (GMS) version 9.5.1 and earlier contains multiple vulnerabilities that, when chained, allow an unauthenticated remote attacker to gain root access to the appliance. Despite previous remediation attempts in version 9.5, researchers discovered that the underlying root causes for several critical flaws remained unaddressed, leading to effective patch bypasses. These flaws include a predictable authentication scheme, a path traversal bypass in ZIP file extraction, and insecure encryption of administrator password hashes.

The attack chain involves bypassing the 'Agent' user authentication using hardcoded cryptographic keys, exploiting a ZipSlip vulnerability to drop a JSP webshell, and potentially recovering the administrator password via offline dictionary attacks. Given that SonicWall GMS has reached End of Life (EoL) status as of September 2026, the severity of these bypasses is heightened for organizations that have not yet migrated to Network Security Manager (NSM).

Technical analysis reveals that the security controls were easily circumvented: the 'secret' for authentication is date-derived and statically recoverable, the path traversal filter can be bypassed by including the substring 'localdb' in filenames, and the password hash encryption key is derived from the hash it is intended to protect.

Key Details

Threat Name

CVE-2026-66145

Affects

SonicWall GMS Virtual Appliance, SonicWall GMS Windows 9.5.1 and earlier, SonicWall GMS 9.5 (Build 9510.1044)

Adversary

—

Malware/Tools

None identified

Report Score

8out of 10
Quality Score
Good
IOC Quality7
TTP Details9
Detection Guidance6
Enterprise Relevance8
Clarity & Structure9
Technical Depth10

Sources