CVE-2025-25286 Crayfish allows Remote Code Execution via Homarus Authorization header

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code on Homarus microservices via the Authorization header if the service is web-accessible and improperly configured.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-25286?

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.

Official 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.

Weakness: CWE-157, CWE-150

Which versions are affected by CVE-2025-25286?

2 open source packages ship an affected version, including islandora/crayfish.

PackageAffectedFixed in
islandora/crayfish PackagistAll versions4.1.0
islandora/crayfish PackagistAll versions4.1.0

How do I fix CVE-2025-25286?

Upgrade islandora/crayfish to 4.1.0 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-25286 being exploited?

There is no known exploitation of CVE-2025-25286 in the wild and no public exploit code.

Sources

Also known as GHSA-mm6v-68qp-f9fw.

Is CVE-2025-25286 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free