draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

CVE-2024-40766: SonicWall SonicOS Improper Access Control Vulnerability

Exploited in attacksRansomware use

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

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

  1. Find every copy. List each place SonicWall SonicOS runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. 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

CVEWhat it affectsStatusEPSSPublished
CVE-2026-19868SonicWall SonicOS SSLVPNNo public exploit found8.0%6 November 2026
CVE-2026-83548SonicWall SMA1000 AppliancesPublic exploit76.5%1 September 2026
CVE-2026-83549SonicWall SMA1000 AppliancesPublic exploit63.1%1 September 2026
CVE-2026-15409SonicWall SMA1000 AppliancesRansomware Public exploit91.5%14 July 2026
CVE-2026-15410SonicWall SMA1000 AppliancesRansomware83.3%14 July 2026
CVE-2025-40602SonicWall SMA1000 applianceNo public exploit found2.8%18 December 2025

Sources

Machine-readable: /api/cve/CVE-2024-40766.json