CVE-2024-40766: SonicWall SonicOS Improper Access Control Vulnerability
Yes. CVE-2024-40766 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 9 September 2024. It is known to have been used in ransomware campaigns. We found no public exploit code for it in Exploit-DB, Metasploit or Nuclei, so the attacks rely on tooling that is not openly published in those sources. EPSS puts the chance of further exploitation attempts in the next 30 days at 22.0%.
- Exploited in real attacks
- Yes. On CISA's exploited list since 9 September 2024
- Used in ransomware
- Yes, known ransomware use
- Public exploit code
- None found in Exploit-DB, Metasploit or Nuclei
- Chance of exploitation (EPSS)
- 22.0% in the next 30 days, higher than 97.7% of scored vulnerabilities. Scored 5 December 2026
- Severity (CVSS)
- 9.3 Critical (version 3.1)
- Affects
- SonicWall SonicOS
- Type of flaw
- Improper access control (CWE-284)
- Published
- 23 August 2024
- US federal patch deadline
- 30 September 2024
What it is
SonicWall SonicOS contains an improper access control vulnerability that could lead to unauthorized resource access and, under certain conditions, may cause the firewall to crash.
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.
Description from the CVE record.
Is CVE-2024-40766 being exploited?
Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2024-40766 on 9 September 2024. That was 17 days after the CVE was published. CISA also marks it as known to be used in ransomware campaigns.
Affected products
- SonicWall SonicOS: 5.9.2.14-12o and older versions; 6.5.4.14-109n and older versions; 7.0.1-5035 and older versions
From the CVE record. Check the vendor advisory for the full list of fixed versions.
What to do
CISA's required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.
How to check whether you are exposed
- Find every copy. List each place SonicWall SonicOS runs, including test systems and anything set up outside IT.
- Compare versions. Match what you find against the affected versions in the vendor advisory.
- Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
HackDrill
Find out whether this is reachable in your systems.
A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in SonicOS. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.
Other tracked vulnerabilities in SonicWall products
| CVE | What it affects | Status | EPSS | Published |
|---|---|---|---|---|
| CVE-2026-19868 | SonicWall SonicOS SSLVPN | No public exploit found | 8.0% | 6 November 2026 |
| CVE-2026-83548 | SonicWall SMA1000 Appliances | Public exploit | 76.5% | 1 September 2026 |
| CVE-2026-83549 | SonicWall SMA1000 Appliances | Public exploit | 63.1% | 1 September 2026 |
| CVE-2026-15409 | SonicWall SMA1000 Appliances | Ransomware Public exploit | 91.5% | 14 July 2026 |
| CVE-2026-15410 | SonicWall SMA1000 Appliances | Ransomware | 83.3% | 14 July 2026 |
| CVE-2025-40602 | SonicWall SMA1000 appliance | No public exploit found | 2.8% | 18 December 2025 |
Sources
- CVE record for CVE-2024-40766
- NVD entry
- CISA Known Exploited Vulnerabilities catalog, version 2026.12.04
- FIRST EPSS, scores dated 5 December 2026
- psirt.global.sonicwall.com (vendor-advisory)
Machine-readable: /api/cve/CVE-2024-40766.json