Actively exploited in the wild. This CVE is on the CISA Known Exploited Vulnerabilities list — treat remediation as urgent. Federal remediation due by 30 Sep 2024. Known ransomware use
SonicosOperating system · Sonicwall

CVE-2024-40766

CRITICAL · 9.8 CVSS v3.1 Published 2024-08-23
Fix available
A fix is available. Upgrade to 5.9.2.14-13o / 6.5.2.8-2n or later.
See remediation →
100/100
Remediation priority · Urgent
In the wild Ransomware Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

This is an improper access control vulnerability in the SonicWall SonicOS management interface that allows unauthorized resource access. Under specific conditions, the vulnerability can also cause the firewall to crash, potentially leading to denial of service. The flaw affects Gen 5 and Gen 6 firewall appliances, as well as Gen 7 devices running SonicOS versions 7.0.1-5035 and older.

MitigationUpgrade affected SonicWall devices to a patched SonicOS version beyond 7.0.1-5035. As an interim compensating control, restrict management access to trusted internal networks or VPN connections only.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
SonicosOperating system
Affected:< 5.9.2.14-13o< 6.5.2.8-2n< 6.5.4.15.116n<= 7.0.1-5035

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify SonicOS version
    Access the firewall management interface and navigate to System > Status or use the command line (ssh/console) and run 'show version' or 'get system status' to display the installed SonicOS version
    Affected if The displayed version number is lower than 5.9.2.14-13o, 6.5.2.8-2n, 6.5.4.15.116n, or is 7.0.1-5035 or lower
  2. Confirm management interface is network-accessible
    Verify that the SonicWall management interface (HTTPS on port 443, or HTTP on port 80) is listening on external/WAN interfaces. Check firewall access rules or run 'show interface' to identify which interfaces have management services enabled
    Affected if Management interface is bound to or accessible through WAN/external interfaces rather than only internal/LAN interfaces
  3. Check for unauthorized access indicators
    Review firewall logs for unusual management interface access patterns, particularly from unexpected IP addresses. Use 'show log' or access the Log Viewer in the management GUI to search for management authentication events
    Affected if There are authentication attempts or administrative actions from unauthorized sources in the logs, or if the management interface is exposed to the internet without VPN or IP restrictions

If the SonicWall device is running any version below 5.9.2.14-13o, 6.5.2.8-2n, 6.5.4.15.116n, or 7.0.1-5035 and its management interface is network-accessible (especially from WAN/external networks), the environment is affected by this vulnerability.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 5.9.2.14-13o / 6.5.2.8-2n / 6.5.4.15.116n or later
Fixed in 5.9.2.14-13o6.5.2.8-2n6.5.4.15.116n
Interim mitigation

Upgrade affected SonicWall devices to a patched SonicOS version beyond 7.0.1-5035. As an interim compensating control, restrict management access to trusted internal networks or VPN connections only.

Recommended fix High confidence

SonicOS 5.9.2.14-13o or later; 6.5.2.8-2n or later / 6.5.4.15.116n or later; 7.0.1-5036 or later (or latest 7.0.x/7.1.x stable release)

  1. 1. Identify the current SonicOS version by accessing the SonicWall management interface or running 'show version' via CLI.
  2. 2. Determine the firewall generation (Gen 5, Gen 6, or Gen 7) from the hardware model.
  3. 3. Download the appropriate fixed firmware from the official SonicWall support portal (my.sonicwall.com) matching your device generation: for Gen 5 use 5.9.2.14-13o or later; for Gen 6 use 6.5.2.8-2n or later (or 6.5.4.15.116n or later for 6.5.4 branch); for Gen 7 use 7.0.1-5036 or later, or the latest available 7.0.x/7.1.x release.
  4. 4. Backup the current firewall configuration from the management interface (Manage | Settings | Configuration | Backup).
  5. 5. Schedule a maintenance window as the upgrade will require a brief firewall reboot/downtime.
  6. 6. Upload the firmware file via the SonicWall management interface (Manage | Settings | Firmware | Upload) or via CLI using the firmware upgrade command.
  7. 7. After upload, initiate the firmware upgrade and allow the firewall to reboot.
  8. 8. Once the firewall restarts, verify the new SonicOS version matches the expected fixed version.
Caveat Standard SonicOS firmware upgrades typically preserve configuration; however, test in staging environment first if possible as minor configuration adjustments may be needed post-upgrade

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Sonicos Exploited in the wild — priority engagement
  • Consultation4.0 h
  • Implementation6.0 h
  • Testing4.0 h
  • Review / QA2.0 h
16.0 hours of engineering $2,840
Get it fixed fast

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,544.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-40766 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-40766 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data