{"answers":{"affected":"It affects 3 products.","exploited":"Yes. Attackers have exploited CVE-2026-41940 in the wild since at least 30 Apr 2026, including in ransomware campaigns.","fix":"No fix has been published for CVE-2026-41940 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 3 May 2026.","what":"CVE-2026-41940 is a critical authentication bypass vulnerability in Cpanel Cpanel, published on 29 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-41940 and fix it if it is affected.\n\nWhat it is: CVE-2026-41940 is a critical authentication bypass vulnerability in Cpanel Cpanel, published on 29 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2026-41940 in the wild since at least 30 Apr 2026, including in ransomware campaigns.\n\nAffected product: Cpanel Cpanel. 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-2026-41940/ (Markdown: https://insights.sbomify.com/CVE-2026-41940/index.md)","id":"CVE-2026-41940","markdown":"https://insights.sbomify.com/CVE-2026-41940/index.md","name":"CVE-2026-41940","record":{"aliases":["GHSA-85qr-8rxc-62gv"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["account_takeover","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Web hosting control panel","requires_auth":"none","summary":"Unauthenticated remote attackers can bypass login controls to gain unauthorized access to the cPanel and WHM control panel.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"cpanel","vendor":"cpanel"},{"product":"whm","vendor":"cpanel"},{"product":"wp_squared","vendor":"cpanel"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"description":"cPanel and WHM versions after 11.40 contain an authentication bypass vulnerability in the login flow that allows unauthenticated remote attackers to gain unauthorized access to the control panel.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2026-04-28","github_poc":73,"max_poc_stars":509,"metasploit":1,"nuclei":1,"refs":[{"date":"2026-05-01T12:09:26Z","kind":"github_poc","ref":"https://github.com/ynsmroztas/cPanelSniper","stars":509,"title":"CVE-2026-41940 — cPanel \u0026 WHM Authentication Bypass via Session-File CRLF Injection"},{"date":"2026-04-30T08:11:23Z","kind":"github_poc","ref":"https://github.com/assetnote/cpanel2shell-scanner","stars":93,"title":"High fidelity scanner for CVE-2026-41940 (cPanel \u0026 WHM authentication bypass)"},{"date":"2026-05-01T16:27:38Z","kind":"github_poc","ref":"https://github.com/XsanFlip/poc-cpanel-cve-2026-41940","stars":63,"title":null},{"date":"2026-04-30T02:38:37Z","kind":"github_poc","ref":"https://github.com/adriyansyah-mf/cve-2026-41940-poc","stars":29,"title":null},{"date":"2026-09-28T18:52:52Z","kind":"github_poc","ref":"https://github.com/ZeroDayEvil/CVE-2026-41940-PoC","stars":28,"title":null},{"date":"2026-04-29T17:44:32Z","kind":"github_poc","ref":"https://github.com/Sachinart/CVE-2026-41940-cpanel-0day","stars":26,"title":"CVE-2026-41940 latest cPanel \u0026 WHM 0day - 70 million websites are possible to expose by Chirag Artani"},{"date":"2026-04-30T12:11:25Z","kind":"github_poc","ref":"https://github.com/ilmndwntr/CVE-2026-41940-MASS-EXPLOIT","stars":13,"title":"CVE-2026-41940 SUPPORT SINGLE \u0026 MASS SCAN EXPLOIT"},{"date":"2026-04-30T14:32:43Z","kind":"github_poc","ref":"https://github.com/rfxn/cpanel-sessionscribe","stars":13,"title":"Detection, mitigation, and reverse-engineering tooling for CVE-2026-41940 (SessionScribe): the cPanel/WHM unauthenticated session-forgery vulnerability disclosed 2026-04-28. Defense-in-depth active mitigation shim, ModSec rule pack, remote probe, on-host IOC scanner, and per-tier RE snapshot collector. GPL v2."}],"tier":"exploited"},"has_fix":null,"headline":"WebPros cPanel \u0026 WHM and WP2 (WordPress Squared) Missing Authentication for Critical Function","id":"CVE-2026-41940","indexable":true,"kev":{"dateAdded":"2026-04-30","dueDate":"2026-05-03","knownRansomwareCampaignUse":"Known","product":"cPanel \u0026 WHM and WP2 (WordPress Squared)","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","vendorProject":"WebPros","vulnerabilityName":"WebPros cPanel \u0026 WHM and WP2 (WordPress Squared) Missing Authentication for Critical Function Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"cpanel:cpanel","products":["cpanel:cpanel"],"type":"auth_bypass","year":"2026"},"n_packages":0,"n_references":5,"next":{"headline":"Dify \u003c 1.14.2 Authorization Bypass via Trace Configuration Endpoints","id":"CVE-2026-41947"},"packages":[],"prev":{"headline":"Care Everywhere Gateway 14.3.10 Hard-coded Credentials RCE via WildFly","id":"CVE-2026-41939"},"products":["WHM","WP Squared","cPanel"],"published":"2026-04-29","related":[{"cvss_score":10,"headline":"guestbook.cgi in cPanel 5.0 allows remote attackers to execute arbitrary commands via the template parameter.","id":"CVE-2003-1425","kev_date_added":null,"published":"2007-10-20"},{"cvss_score":10,"headline":"Code injection in n/a","id":"CVE-2004-1769","kev_date_added":null,"published":"2005-03-10"},{"cvss_score":10,"headline":"Command injection in n/a","id":"CVE-2004-1770","kev_date_added":null,"published":"2005-03-10"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2020-26098","kev_date_added":null,"published":"2020-09-25"},{"cvss_score":9.8,"headline":"Privilege escalation in n/a","id":"CVE-2020-26100","kev_date_added":null,"published":"2020-09-25"},{"cvss_score":9.8,"headline":"Hardcoded credentials in n/a","id":"CVE-2020-26101","kev_date_added":null,"published":"2020-09-25"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-30","vendors":["WebPros"]},"summary":"Unauthenticated remote attackers can bypass login controls to gain unauthorized access to the cPanel and WHM control panel.","url":"https://insights.sbomify.com/CVE-2026-41940/"}