Summary
CVE-2026-66145 is a critical, unauthenticated vulnerability in SonicWall’s Global Management System (GMS) caused by improper control of code generation (CWE-94), specifically a "zip slip" path-traversal flaw in archive extraction handling. An unauthenticated remote attacker can craft a malicious archive to read sensitive data and write arbitrary files outside the intended extraction directory. The flaw carries a CVSS v3.1 base score of 9.1 (Critical) and affects SonicWall GMS 9.5.1 (Build 9510.1044) and earlier.
Technical details
- Root cause: GMS processes uploaded/ingested ZIP archives without properly validating entry paths, allowing archive entries containing directory-traversal sequences (e.g.,
../) to be extracted to arbitrary filesystem locations — a classic "zip slip" flaw. - Trigger conditions: An attacker submits a specially crafted archive to a vulnerable GMS component; no valid credentials or user interaction are required to trigger extraction.
- Attack vector: Network-based (AV:N), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N).
- Impact: High confidentiality impact (disclosure of sensitive files) and high integrity impact (arbitrary file write, which can be leveraged to overwrite configuration or application files); no direct availability impact per the published vector.
- Disclosed alongside other GMS vulnerabilities patched in the same release cycle, including a separate critical unauthenticated command-injection RCE (CVE-2026-66147) affecting the same product line.
Affected software
- SonicWall GMS Virtual Appliance — version 9.5.1 (Build 9510.1044) and earlier
- SonicWall GMS Windows — version 9.5.1 (Build 9510.1044) and earlier
Severity
- CVSS v3.1 Base Score: 9.1 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Mitigation and recommended actions
- Immediate: Upgrade SonicWall GMS (Virtual Appliance and Windows) to version 9.5.2 or later, which contains the fix for this vulnerability.
- If patching cannot occur immediately: Restrict network access to the GMS management interface to trusted, internal networks only (e.g., via firewall rules or VPN), and avoid exposing GMS administrative or file-upload/import functionality directly to the internet until patched.
- Note that SonicWall GMS is a discontinued product line; organizations should evaluate migration timelines alongside patching, as continued exposure of unsupported management infrastructure increases long-term risk.
- Monitor GMS logs for unexpected file-write activity or anomalous archive uploads as an indicator of exploitation attempts.

