{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-51568 exists.","fix":"No fix has been published for CVE-2024-51568 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-51568 is a critical command injection vulnerability in n/a, published on 29 Oct 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-51568 and fix it if it is affected.\n\nWhat it is: CVE-2024-51568 is a critical command injection vulnerability in n/a, published on 29 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-51568 exists.\n\nAffected product: n/a. 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-51568/ (Markdown: https://insights.sbomify.com/CVE-2024-51568/index.md)","id":"CVE-2024-51568","markdown":"https://insights.sbomify.com/CVE-2024-51568/index.md","name":"CVE-2024-51568","record":{"aliases":["GHSA-q2hv-8prh-hr3r"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"CyberPanel control panel","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary commands via shell metacharacters in the file manager upload feature of CyberPanel.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"cyberpanel","vendor":"cyberpanel"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"CyberPanel (aka Cyber Panel) before 2.3.5 allows Command Injection via completePath in the ProcessUtilities.outputExecutioner() sink. There is /filemanager/upload (aka File Manager upload) unauthenticated remote code execution via shell metacharacters.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2024-10-27","github_poc":1,"max_poc_stars":1,"metasploit":1,"nuclei":1,"refs":[{"date":"2025-09-02T07:51:40Z","kind":"github_poc","ref":"https://github.com/jsnv-dev/CVE-2024-51568---CyberPanel-Command-Injection-Nuclei-Template","stars":1,"title":null},{"date":"2024-10-27","kind":"metasploit","ref":"exploit/unix/webapp/cyberpanel_preauth_rce_multi_cve","stars":null,"title":"CyberPanel Multi CVE Pre-auth RCE"},{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-51568.yaml","stars":null,"title":"CyberPanel - Command Injection"}],"tier":"weaponised"},"has_fix":null,"headline":"Command injection in n/a","id":"CVE-2024-51568","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2024"},"n_packages":0,"n_references":4,"next":{"headline":"Memory corruption in Apache NimBLE","id":"CVE-2024-51569"},"packages":[],"prev":{"headline":"CyberPanel Incorrect Default Permissions","id":"CVE-2024-51567"},"products":["n/a"],"published":"2024-10-29","related":[{"cvss_score":10,"headline":"CyberPanel Incorrect Default Permissions","id":"CVE-2024-51378","kev_date_added":"2024-12-04","published":"2024-10-29"},{"cvss_score":10,"headline":"CyberPanel Incorrect Default Permissions","id":"CVE-2024-51567","kev_date_added":"2024-11-07","published":"2024-10-29"},{"cvss_score":8.8,"headline":"CyberPanel \u003c 2.4.5 Unauthenticated API Access via AI Scanner Endpoints","id":"CVE-2026-41473","kev_date_added":null,"published":"2026-04-24"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2024-53376","kev_date_added":null,"published":"2024-12-16"},{"cvss_score":8.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2019-13056","kev_date_added":null,"published":"2019-07-02"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2024-56112","kev_date_added":null,"published":"2024-12-16"}],"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":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-10-30","vendors":["n/a"]},"summary":"Unauthenticated attackers can execute arbitrary commands via shell metacharacters in the file manager upload feature of CyberPanel.","url":"https://insights.sbomify.com/CVE-2024-51568/"}