Home / SonicWall / SonicOS / CVE-2024-40766
CVE-2024-40766: is it exploited, and which versions of SonicWall SonicOS are affected and fixed?
CVE-2024-40766 is an improper access control vulnerability in SonicWall SonicOS, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on September 9, 2024, with a federal due date of September 30, 2024. Affected: SonicOS 5.9.2.14-12o and older versions, SonicOS 6.5.4.14-109n and older versions and SonicOS 7.0.1-5035 and older versions (CVE record by sonicwall). Fixed in 5.9.2.14-13o, 6.5.2.8-2n and 6.5.4.15.116n (NVD). Severity: Critical (9.3, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:27 UTC.
What is CVE-2024-40766?
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.
From the CVE record by sonicwall, last updated September 21, 2026, 20:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| SonicWall | SonicOS Gen5, Gen6, Gen7 | 5.9.2.14-12o and older versions 6.5.4.14-109n and older versions 7.0.1-5035 and older versions |
As the CVE record by sonicwall states it, last updated September 21, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| sonicwall | sonicos | before 5.9.2.14-13o | operating system |
| sonicwall | sonicos | before 6.5.2.8-2n | operating system |
| sonicwall | sonicos | before 6.5.4.15.116n | operating system |
| sonicwall | sonicos | through 7.0.1-5035 | operating system |
NVD analysis (status Analyzed), last modified September 21, 2026, 21:17 UTC.
How severe is CVE-2024-40766?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L | CISA-ADP |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-40766 exploited in the wild?
- CISA KEV
- Listed as SonicWall SonicOS Improper Access Control Vulnerability, added September 9, 2024; federal agencies must act by September 30, 2024
- Required action
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Ransomware use
- Known
- CISA's summary
- 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.
- CISA SSVC
- Exploitation: active; automatable: yes; technical impact: partial (CISA ADP, September 9, 2024)
- EPSS
- 22.0% probability of exploitation activity in the next 30 days, percentile 97.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-284 Improper Access Control
Where are the vendor advisories and references?
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0015 vendor-advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-40766 government-resource
When was it published, and where is the official record?
- Reserved
- July 10, 2024
- Published
- August 23, 2024, 06:19 UTC
- CVE record updated
- September 21, 2026, 20:25 UTC by sonicwall
- NVD
- Analyzed, last modified September 21, 2026, 21:17 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:27 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect SonicOS?
- Nov 6, 2026CVE-2026-19868 SonicWall SonicOS: use of Single-factor Authentication exploited
- Jan 9, 2025CVE-2024-53704 SonicWall SonicOS: authentication bypass (improper authentication) exploited
- Oct 12, 2020CVE-2020-5135 SonicWall SonicOS: buffer overflow exploited
- Nov 6, 2026CVE-2026-19703 SonicWall SonicOS: hard-coded credentials
- Nov 6, 2026CVE-2026-77709 SonicWall SonicOS: heap buffer overflow
- Nov 6, 2026CVE-2026-77708 SonicWall SonicOS: stack buffer overflow
- Nov 6, 2026CVE-2026-82308 SonicWall SonicOS: heap buffer overflow
- Nov 6, 2026CVE-2026-107154 SonicWall SonicOS: reliance on IP Address for Authentication
Questions about CVE-2024-40766
Is CVE-2024-40766 exploited in the wild?
Yes. CISA added CVE-2024-40766 to its Known Exploited Vulnerabilities catalog on September 9, 2024 and set federal agencies a due date of September 30, 2024. CISA lists it as used in ransomware campaigns. FIRST's EPSS gives it a 22.0% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of SonicWall SonicOS are affected by CVE-2024-40766?
SonicOS 5.9.2.14-12o and older versions, SonicOS 6.5.4.14-109n and older versions and SonicOS 7.0.1-5035 and older versions, per the CVE record by sonicwall. The tables above give every range the sources list.
Which version fixes CVE-2024-40766?
5.9.2.14-13o, 6.5.2.8-2n and 6.5.4.15.116n, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-40766?
Critical (9.3, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-40766?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.