Per CISA, it can give an attacker access to resources they should not reach and can crash the firewall. CISA, the FBI and partners say Akira ransomware actors used it to get in.
What it allows
Improper access control means the system fails to check who is allowed to do what. NVD says the flaw is in SonicOS management access and can lead to unauthorized resource access. In specific conditions it can make the firewall crash. A firewall sits at the edge of the network, so a break here can expose everything behind it.
Who is affected
NVD says it affects SonicWall Gen 5 and Gen 6 firewalls, and Gen 7 firewalls running SonicOS 7.0.1-5035 and older. Check the vendor's own security advisory (SNWLID-2024-0015) for the fixed builds, because this page could not open that page.
NVD published the record in August 2024 (23 August). CISA added the flaw to its Known Exploited Vulnerabilities (KEV) catalog on 9 September 2024, and the KEV entry flags known use in ransomware campaigns.
In the joint #StopRansomware advisory on Akira (AA24-109A, last revised 13 November 2025), CISA, the FBI and partners list CVE-2024-40766 among the flaws they observed Akira actors using for initial access. The advisory says Akira often gets in through a VPN service that has no multifactor authentication set up. A SonicWall SMA1000 flaw from July 2026, CVE-2026-15409, is also flagged in CISA KEV for known ransomware campaign use.
For a later SonicWall management product that will never be patched, see our SonicWall GMS end of life playbook.
Who exploits it
What to do
-
Apply the vendor's fix or mitigation
The KEV entry says to apply mitigations per vendor instructions, or stop using the product if none are available. Use the fixed SonicOS builds in the vendor advisory SNWLID-2024-0015.
-
Put multifactor authentication on every VPN account
The Akira advisory says the group gets in through VPN services that have no MFA configured, so turn it on for all remote access.
-
Remediate known exploited flaws first
The Akira advisory puts this first in its list of actions: prioritize fixing known exploited vulnerabilities, and the KEV catalog is the list to work from. The SafePay advisory AA26-293A, from October 2026, also lists this flaw as an entry point.
-
Review who can reach the firewall's management
NVD places the flaw in management access, so keep it off the open internet where you can. This follows from the flaw's location and is not quoted from the advisories.
-
Treat unexplained firewall access or crashes as a warning
CISA says the flaw can crash a firewall. Investigate unexpected crashes and unknown accounts as possible signs of an attack.
What Brandefense can do
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2024-40766 in Brandefense Atlas
The Atlas record of CVE-2024-40766: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
Frequently Asked Questions
What is CVE-2024-40766?
CVE-2024-40766 is an improper access control flaw (CWE-284) in SonicOS, the software on SonicWall firewalls. NVD says it sits in management access and can lead to unauthorized resource access. In specific conditions it can make the firewall crash.
Is CVE-2024-40766 being exploited?
Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 9 September 2024, and the entry flags known use in ransomware campaigns. The joint advisory on Akira (AA24-109A) lists it among the flaws Akira actors used for initial access.
Which SonicWall firewalls are affected by CVE-2024-40766?
NVD says it affects SonicWall Gen 5 and Gen 6 firewalls, and Gen 7 firewalls running SonicOS 7.0.1-5035 and older. Check the vendor advisory SNWLID-2024-0015 for the fixed builds.
How do I defend against CVE-2024-40766?
Apply the vendor's fix or mitigation, and put multifactor authentication on every VPN account, because Akira often gets in through VPN services without MFA. Fix known exploited flaws first, and keep firewall management off the open internet where you can.
Sources
- CVE-2024-40766 recordNIST NVD
- Known Exploited Vulnerabilities catalogCISA
- #StopRansomware: Akira Ransomware (AA24-109A)CISA, FBI, DC3, HHS and international partners