# CVE-2024-40766: SonicOS Improper Access Control

- Vendor: SonicWall, SonicOS
- Severity: CRITICAL (CVSS 3.1 9.3)
- Exploited (CISA KEV): yes, added 2024-09-09, known ransomware use
- EPSS: 22.0% on 2026-12-02
- Public exploit: not checked
- Patch available: no or unknown
- Vendor advisory: SNWLID-2024-0015, https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0015
- Published: 2024-08-23; updated: 2024-08-23
- Page: https://patchtonight.com/cve/CVE-2024-40766/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| SonicOS (Gen5, Gen6, Gen7) 5.9 | See the advisory |
| SonicOS (Gen5, Gen6, Gen7) 6.5 | See the advisory |
| SonicOS (Gen5, Gen6, Gen7) 7.0 | See the advisory |

## The vendor's description

An improper access control vulnerability has been identified in the SonicWall SonicOS management access, potentially leading to unauthorized resource access and in specific conditions, causing the firewall to crash. This issue affects SonicWall Firewall Gen 5 and Gen 6 devices, as well as Gen 7 devices running SonicOS 7.0.1-5035 and older versions.

## Sources

- [SonicWall advisory](https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0015)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
