{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-36057 exists.","fix":"No fix has been published for CVE-2024-36057 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-36057 is a critical command injection vulnerability in n/a, published on 7 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-2024-36057 and fix it if it is affected.\n\nWhat it is: CVE-2024-36057 is a critical command injection vulnerability in n/a, published on 7 Apr 2026. 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-36057 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-36057/ (Markdown: https://insights.sbomify.com/CVE-2024-36057/index.md)","id":"CVE-2024-36057","markdown":"https://insights.sbomify.com/CVE-2024-36057/index.md","name":"CVE-2024-36057","record":{"aliases":["GHSA-j75v-99xr-7x47"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Koha Library","requires_auth":"none","summary":"Attackers can execute arbitrary commands via malicious filenames in Koha Library's image upload feature, requiring immediate upgrade.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Koha Library before 23.05.10 fails to sanitize user-controllable filenames prior to unzipping, leading to remote code execution. The line \"qx/unzip $filename -d $dirname/;\" in upload-cover-image.pl is vulnerable to command injection via shell metacharacters because input data can be controlled by an attacker and is directly included in a system command, i.e., an attack can occur via malicious filenames after uploading a .zip file and clicking Process Images.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-10-14","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-10-14T15:58:32Z","kind":"github_poc","ref":"https://github.com/hacklantic/CVE-2024-36057","stars":0,"title":"CVE-2024-36057 - Authenticated OS Command Injection in Koha Library Software \u003c 23.05.10 (upload-cover-image.pl). Advisory + PoC by Hacklantic."}],"tier":"weaponised"},"has_fix":false,"headline":"Command injection in n/a","id":"CVE-2024-36057","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":"SQL injection in n/a","id":"CVE-2024-36058"},"packages":[],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2024-36056"},"products":["n/a"],"published":"2026-04-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-09","vendors":["n/a"]},"summary":"Attackers can execute arbitrary commands via malicious filenames in Koha Library's image upload feature, requiring immediate upgrade.","url":"https://insights.sbomify.com/CVE-2024-36057/"}