# CVE-2024-40766: SonicWall SonicOS Improper Access Control Vulnerability

Source: https://junglewise.ai/threats/cve-2024-40766-sonicwall-sonicos-improper-access-control-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-09-09. Updated: 2026-05-09  
License: CC BY 4.0 with a link back

CVE-2024-40766 · Severity: critical · CVSS 9.8 · Exploited in the wild · Published 2024-09-09

An improper access control vulnerability in SonicWall SonicOS management access allows unauthenticated attackers to gain unauthorized resource access. Under specific conditions, the vulnerability can also be exploited to cause a denial-of-service condition by crashing the firewall.

Technologies: [SonicWall SonicOS](https://junglewise.ai/threats/technologies/sonicos). Vendors: [SonicWall](https://junglewise.ai/threats/vendors/sonicwall).

## Quick answers

**Is CVE-2024-40766 exploited in the wild?** Yes. CVE-2024-40766 is known to be exploited in the wild, first recorded on 9 September 2024. Treat it as urgent.

**How severe is CVE-2024-40766?** Critical severity, with a CVSS score of 9.8, published 9 September 2024.

**Which products and versions are affected?** SonicWall SonicOS Gen 5 devices; Gen 6 devices; Gen 7 devices running 7.0.1-5035 and older.

**Is there a fix for CVE-2024-40766?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2024-40766 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2024-40766?** Check whether you run SonicWall SonicOS. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- SonicWall SonicOS Gen 5 devices; Gen 6 devices; Gen 7 devices running 7.0.1-5035 and older

## Timeline

- 2024-09-09: disclosed
- 2024-09-09: kev added: Added to CISA Known Exploited Vulnerabilities (KEV) catalog.
- 2024-09-09: exploited: Reported as exploited in the wild.

## Related threats

- [SonicWall SonicOS heap-based buffer overflow in SSL-VPN](https://junglewise.ai/threats/cve-2026-82308-a-pre-authentication-heap-based-buffer-overflow-vulnerability-has)
- [SonicWall SonicOS heap buffer overflow in TACACS+ client](https://junglewise.ai/threats/cve-2026-77709-a-pre-authentication-heap-based-buffer-overflow-vulnerability-has)
- [SonicWall SonicOS stack-based buffer overflow in TACACS+ client](https://junglewise.ai/threats/cve-2026-77708-a-pre-authentication-stack-based-buffer-overflow-vulnerability)
- [SonicWall SonicOS SSLVPN SAML authentication bypass](https://junglewise.ai/threats/cve-2026-19868-an-authentication-enforcement-vulnerability-in-sonicos-sslvpn)
- [SonicWall SonicOS weak password hashing](https://junglewise.ai/threats/cve-2026-19703-a-weak-password-hashing-vulnerability-has-been-identified-on)
