{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2024-40766 in the wild since at least 9 Sep 2024, including in ransomware campaigns.","fix":"No fix has been published for CVE-2024-40766 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 30 Sep 2024.","what":"CVE-2024-40766 is a critical missing authorization vulnerability in Sonicwall Sonicos, published on 23 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-40766 and fix it if it is affected.\n\nWhat it is: CVE-2024-40766 is a critical missing authorization vulnerability in Sonicwall Sonicos, published on 23 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2024-40766 in the wild since at least 9 Sep 2024, including in ransomware campaigns.\n\nAffected product: Sonicwall Sonicos. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-40766/ (Markdown: https://insights.sbomify.com/CVE-2024-40766/index.md)","id":"CVE-2024-40766","markdown":"https://insights.sbomify.com/CVE-2024-40766/index.md","name":"CVE-2024-40766","record":{"aliases":["GHSA-8736-pr6r-r9hr"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"SonicWall Firewall","requires_auth":"none","summary":"Attackers can access unauthorized resources or crash SonicWall firewalls due to improper access control in management interfaces.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"sonicwall","cpe":[{"product":"sonicos","vendor":"sonicwall"}],"cvss":{"score":9.3,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"exploited"},"has_fix":null,"headline":"SonicWall SonicOS Improper Access Control","id":"CVE-2024-40766","indexable":true,"kev":{"dateAdded":"2024-09-09","dueDate":"2024-09-30","knownRansomwareCampaignUse":"Known","product":"SonicOS","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","vendorProject":"SonicWall","vulnerabilityName":"SonicWall SonicOS Improper Access Control Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"sonicwall:sonicos","products":["sonicwall:sonicos"],"type":"missing_authorization","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"OpenStack Nova vulnerable to unauthorized access to potentially sensitive data","id":"CVE-2024-40767"},"packages":[],"prev":{"headline":"Integer overflow in SonicOS","id":"CVE-2024-40765"},"products":["SonicOS"],"published":"2024-08-23","related":[{"cvss_score":9.8,"headline":"SonicWall SonicOS Buffer Overflow","id":"CVE-2020-5135","kev_date_added":"2022-03-15","published":"2020-10-12"},{"cvss_score":8.2,"headline":"SonicWall SonicOS SSLVPN Improper Authentication","id":"CVE-2024-53704","kev_date_added":"2025-02-18","published":"2025-01-09"},{"cvss_score":9.8,"headline":"Denial of service in SonicOS","id":"CVE-2025-40600","kev_date_added":null,"published":"2025-07-29"},{"cvss_score":9.8,"headline":"Auth bypass in SonicOS","id":"CVE-2024-22394","kev_date_added":null,"published":"2024-02-08"},{"cvss_score":9.8,"headline":"Memory corruption in SonicOS","id":"CVE-2022-22274","kev_date_added":null,"published":"2022-03-25"},{"cvss_score":9.8,"headline":"Missing authorization in SonicOS","id":"CVE-2019-7475","kev_date_added":null,"published":"2019-04-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-21","vendors":["SonicWall"]},"summary":"Attackers can access unauthorized resources or crash SonicWall firewalls due to improper access control in management interfaces.","url":"https://insights.sbomify.com/CVE-2024-40766/"}