{"answers":{"affected":"2 open source packages ship an affected version, including islandora/crayfish.","exploited":"There is no known exploitation of CVE-2025-25286 in the wild and no public exploit code.","fix":"Upgrade islandora/crayfish to 4.1.0 or later.","what":"CVE-2025-25286 is a critical command injection vulnerability in Islandora Crayfish, published on 13 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-25286 and fix it if it is affected.\n\nWhat it is: CVE-2025-25286 is a critical command injection vulnerability in Islandora Crayfish, published on 13 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-25286 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- islandora/crayfish (Packagist): affected all versions; fixed in 4.1.0\n- islandora/crayfish (Packagist): affected all versions; fixed in 4.1.0\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-2025-25286/ (Markdown: https://insights.sbomify.com/CVE-2025-25286/index.md)","id":"CVE-2025-25286","markdown":"https://insights.sbomify.com/CVE-2025-25286/index.md","name":"CVE-2025-25286","record":{"aliases":["GHSA-mm6v-68qp-f9fw"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Islandora Crayfish microservices","requires_auth":"none","summary":"Remote attackers can execute arbitrary code on Homarus microservices via the Authorization header if the service is web-accessible and improperly configured.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.8,"severity":"critical","source":"cna","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-157","name":"Failure to Sanitize Paired Delimiters"},{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"description":"Crayfish is a collection of Islandora 8 microservices, one of which, Homarus, provides FFmpeg as a microservice. Prior to Crayfish version 4.1.0, remote code execution may be possible in web-accessible installations of Homarus in certain configurations. The issue has been patched in `islandora/crayfish:4.1.0`. Some workarounds are available. The exploit requires making a request against the Homarus's `/convert` endpoint; therefore, the ability to exploit is much reduced if the microservice is not directly accessible from the Internet, so: Prevent general access from the Internet from hitting Homarus. Alternatively or additionally, configure auth in Crayfish to be more strongly required, such that requests with `Authorization` headers that do not validate are rejected before the problematic CLI interpolation occurs.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Crayfish allows Remote Code Execution via Homarus Authorization header","id":"CVE-2025-25286","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"Lakeus vulnerable to stored XSS via system messages","id":"CVE-2025-25287"},"packages":[{"ecosystem":"Packagist","fixed":["4.1.0"],"introduced":["0"],"last_affected":[],"package":"islandora/crayfish","purl":null,"source":"GHSA-mm6v-68qp-f9fw"},{"ecosystem":"Packagist","fixed":["4.1.0"],"introduced":["0"],"last_affected":[],"package":"islandora/crayfish","purl":"pkg:composer/islandora/crayfish","source":"GHSA-mm6v-68qp-f9fw"}],"prev":{"headline":"@octokit/endpoint has a Regular Expression in parse that Leads to ReDoS Vulnerability Due to Catastrophic Backtracking","id":"CVE-2025-25285"},"products":["Crayfish"],"published":"2025-02-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["Islandora"]},"summary":"Remote attackers can execute arbitrary code on Homarus microservices via the Authorization header if the service is web-accessible and improperly configured.","url":"https://insights.sbomify.com/CVE-2025-25286/"}