Actively exploited vulnerability / CVE-2024-40766
SonicWall firewalls may allow unauthorized access or crash unexpectedly
A flaw in how SonicOS controls access to its management functions can let an attacker reach resources they should not have access to, and under certain conditions can make the firewall crash. Since the firewall guards the entrance to your company network, this can expose internal data or cut off your internet connection. It is on the lists of vulnerabilities used in real attacks kept by both CISA, the US cybersecurity agency, and ENISA, the EU cybersecurity agency.
- Identifier
- CVE-2024-40766 · EUVD-2024-38613
- Severity
- Critical (9.8/10)
- On the CISA list (US)
- yes, since 9 September 2024
- Deadline given to US federal agencies
- 30 September 2024
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 1.8% (FIRST's estimate for the next 30 days)
Does it concern you?
SonicOS is the operating system of SonicWall firewalls, devices widely used by small and medium businesses to protect their network and remote access. Gen 5, Gen 6 and Gen 7 devices are affected.
The SonicOS version is shown in the firewall's management interface, usually on the system status page, or you can ask whoever manages your network. Affected are Gen 5 versions before 5.9.2.14-13o, Gen 6 versions before 6.5.2.8-2n and 6.5.4.15.116n, and Gen 7 versions up to and including 7.0.1-5035.
Affected products and versions
- SonicWall SonicOS
- sonicos: before 5.9.2.14-13o; before 6.5.2.8-2n; before 6.5.4.15.116n; up to and including 7.0.1-5035
What to do
Install the matching update: 5.9.2.14-13o for Gen 5, 6.5.2.8-2n or 6.5.4.15.116n for Gen 6, and the latest SonicWall release for Gen 7. Follow SonicWall's guidance, and if no fix is available for your device, consider replacing it.
Versions that contain the fix: 5.9.2.14-13o, 6.5.2.8-2n, 6.5.4.15.116n.
The official description
The text below is the description from the public database.
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
- CVE Program
- GitHub Advisory Database
- Vendor advisory: psirt.global.sonicwall.com
- Vendor advisory: sonicwall.com
- Vendor advisory: nvd.nist.gov
- NVD
- ENISA EUVD
- CISA Cybersecurity Advisories
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.