CVE-2024-40766: An improper access control vulnerability has been identified in the SonicWall SonicOS management access, potentially leading to unauthori…
CVE-2024-40766 affects 40 listed versions of SonicWall SonicOS in the Dawnsentry catalogue. It is known to be exploited in the wild.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
SonicWall SonicOS
40 of 86 listed versions are affected. Fixed in 6.5.4.15.116n, 6.5.2.8-2n, 5.9.2.14-13o. The newest release, 8.2.3-8015, is not affected.
6.5.4.14-109n 6.5.4.13-105n 6.5.4.12-101n 6.5.4.11-97n 6.5.4.9-93n 6.5.4.8-89n 6.5.4.8 6.5.4.7-83n 6.5.4.7-79n 6.5.4.7 6.5.4.6-79n 6.4.1.0-3n 6.4.0.0 6.2.9.2 6.2.9.0 6.2.7.10-3n 6.2.7.8 6.2.7.7 6.2.7.4-32n 6.2.7.4 6.2.7.3 6.2.7.1 6.2.7.0 6.2.6.1 6.2.5.3 6.2.4.3 6.2.3.1 6.2.2.0 6.0.5.3-94o 6.0.5.3-93o 6.0.5.3-86o 6.0.5.3 5.9.2.14-12o 5.9.1.13-5n 5.9.1.13 5.9.1.12-4o 5.9.1.12 5.9.1.10 5.9.1.7-2n 5.9.0.7
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by Sonicwall on 23 August 2024. Last changed 21 September 2026. CISA lists it as used in ransomware campaigns.
Sources
Check one version you run: look CVE-2024-40766 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.