Skip to content
Server Security Center
KEVcritical9.3 Used in ransomware campaigns

CVE-2024-40766: SonicWall SonicOS Improper Access Control

SonicWall SonicOS · listed in the CISA catalog of actively exploited vulnerabilities since 2024-09-09.

CVSS v3.1 (CISA ADP)
9.3
critical
EPSS (exploit probability, 30 days)
18%
higher than 97.3% of all CVEs
Added to CISA KEV
2024-09-09
US federal due date 2024-09-30
Automatable (CISA SSVC)
yes
technical impact: partial

CVE-2024-40766 explained

CVE-2024-40766 is an improper access control vulnerability in the management access of SonicWall SonicOS on Gen 5, Gen 6 and Gen 7 firewalls. It can lead to unauthorized resource access and, in specific conditions, a firewall crash. CISA lists it as known exploited, including in ransomware campaigns.

Impact

A remote attacker without credentials or user interaction can reach the flaw over the network. Successful exploitation can expose sensitive information and, in specific conditions, crash the firewall. CISA rates it automatable, so it can be exploited at scale, with partial technical impact. Attackers are known to exploit it, including in ransomware campaigns.

Who is affected

SonicWall SonicOS on Gen5, Gen6 and Gen7 firewalls. The record describes affected versions in free text: 5.9.2.14-12o and older versions (Gen5), 6.5.4.14-109n and older versions (Gen6) and 7.0.1-5035 and older versions (Gen7). The CVE record names no fixed version. Check the SonicWall advisory for the releases that contain the fix.

Written with AI from the data on this page and checked against it automatically.

Official 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.

CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

CISA notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • SonicWall SonicOSGen5, Gen6, Gen7
    Affected
    • 5.9.2.14-12o and older versions
    • 6.5.4.14-109n and older versions
    • 7.0.1-5035 and older versions
    Fixed in
    not stated

    Version statement as published by the CNA (free text).

How to fix it

  • The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
  • Vendor advisory: psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0015
  • CISA's deadline for US federal agencies: 2024-09-30 (passed) – a useful benchmark for everyone else, too.

What to do

  1. Follow the SonicWall advisory and update SonicOS to the fixed release it names for your Gen5, Gen6 or Gen7 device.
  2. Apply the vendor's mitigations, as CISA requires, until the update is installed.
  3. Restrict firewall management access to trusted internal networks and keep management interfaces off the internet.
  4. Check affected firewalls for signs of compromise, such as unexpected access or crashes.
  5. Discontinue use of devices where no mitigation is available, per CISA's required action.

The CVE record names no fixed version. Consult the SonicWall advisory for patched releases and mitigations. CISA requires applying mitigations per vendor instructions, or discontinuing use of the product if mitigations are unavailable. Until then, restrict management access to trusted networks and keep it off the internet.

Written with AI from the data on this page and checked against it automatically.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
Yes – attackers can automate it at scale
Technical impact
Partial – limited control or information

Weakness: CWE-284 Improper Access Control

Questions about CVE-2024-40766

Is CVE-2024-40766 being exploited?
Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2024-09-09 and notes known use in ransomware campaigns. US federal agencies had a due date of 2024-09-30.
Which devices are affected?
SonicWall Firewall Gen 5 and Gen 6 devices, and Gen 7 devices running SonicOS 7.0.1-5035 and older. The record lists 5.9.2.14-12o and older versions and 6.5.4.14-109n and older versions for the older generations.
Does an attacker need credentials?
No. According to the CVSS data, the flaw is reachable over the network with low complexity, no privileges and no user interaction. It affects SonicOS management access.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.