CVE-2024-40766
CriticalExploitedPublic exploitAn 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.
Published Aug 23, 2024 · Updated Sep 21, 2026 · Also known as TR-24-1328
Key Facts
Patch immediately- CVE-2024-40766 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting SonicOS (Sonicwall).
- It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Apr 23, 2024 and is known to be used in ransomware campaigns. Public exploit code is available.
- EPSS estimates a 18% probability of exploitation in the next 30 days.
- Fixed versions are available, including SonicOS 5.9.2.14-13o, SonicOS 6.5.2.8-2n, SonicOS 6.5.4.15.116n.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
18%
Higher than 97.2% of all scored CVEs
Exploited in the wild
Yes
4 catalog listings, used by ransomware
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2024-40766 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CISA KEV | Sep 9, 2024 | Sep 30, 2024 | Known |
| Industry KEV feed | Apr 23, 2024 | Sep 30, 2024 | Known |
| CIRCL KEV | Sep 9, 2024 | Sep 30, 2024 | Known |
| ENISA EUVD | Sep 9, 2024 | n/a | Not reported |
Required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| SonicOSSonicwall | >= 5.9.2.14-12o and older versions | 5.9.2.14-13o |
Patched Releases
SonicOS
5.9.2.14-13o, 6.5.2.8-2n, 6.5.4.15.116n
Timeline
Added to Industry KEV feed
Apr 23, 2024
Publicly disclosed
Aug 23, 2024
Added to CISA KEV
Sep 9, 2024
Added to CIRCL KEV
Sep 9, 2024
Added to ENISA EUVD
Sep 9, 2024
Last updated
Sep 21, 2026
Weakness Type
- CWE-284 Improper Access Control
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-40766
- advisoryVulnCheck exploitation report
- advisoryUSOM advisory
- exploitVulnCheck exploitation report
- exploitVulnCheck exploitation report
FAQ
Common Questions.
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.
Affected: SonicOS (Sonicwall) versions >= 5.9.2.14-12o and older versions. The full list is in the CVE brief.
It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Apr 23, 2024 and is known to be used in ransomware campaigns.
Yes. It was added on Sep 9, 2024 with a federal remediation due date of Sep 30, 2024.
Public exploit code is available.
Fixed versions are available, including SonicOS 5.9.2.14-13o, SonicOS 6.5.2.8-2n, SonicOS 6.5.4.15.116n.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2024-40766 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo