CVE-2025-25286: Islandora/crayfish Remote Code Execution Vulnerability
CRITICALCVE-2025-25286 is a CRITICAL (CVSS 9.8) remote code execution vulnerability (CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences) affecting Islandora/crayfish libraries in the Packagist ecosystem. The issue involves crayfish allows remote code execution via homarus authorization header. Remediation is available by upgrading affected packages to version 4.1.0.
CVE-2025-25286 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2025-25286
To remediate this vulnerability, upgrade all affected Islandora/crayfish dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade islandora/crayfish to 4.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for islandora/crayfish
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-25286, inspect your project dependencies for Islandora/crayfish:
inspect dependencies for islandora/crayfish
Analyze the terminal output to locate any version of Islandora/crayfish in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences, where the product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as escape, meta, or control character sequences when they are sent to a downstream component. In Islandora/crayfish, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-25286 Affected Islandora/crayfish Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
islandora/crayfish
|
Packagist |
< 4.1.0
|
4.1.0
|
References
Frequently Asked Questions
What is CVE-2025-25286?
Which Islandora/crayfish versions are affected?
What version fixes CVE-2025-25286?
Is islandora/crayfish affected?
What is the CVSS score of CVE-2025-25286?
What CWE is associated with CVE-2025-25286?
How can I check Packagist dependencies for CVE-2025-25286?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mm6v-68qp-f9fw",
"modified" : "2025-02-13T16:49:25Z",
"published" : "2025-01-15T22:04:19Z",
"aliases" : [ "CVE-2025-25286" ],
"summary" : "Crayfish allows Remote Code Execution via Homarus Authorization header",
"details" : "### Impact\n\nRemote code execution may be possible in web-accessible installations of Homarus in certain configurations.\n\n### Patches\n\nThe issue has been patched in `islandora/crayfish:4.1.0`\n\n### Workarounds\n\nThe 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.\n\nConfigure 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.\n\n### References\n\n- XBOW-024-071",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "islandora/crayfish"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Islandora/Crayfish/security/advisories/GHSA-mm6v-68qp-f9fw"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-25286"
}, {
"type" : "WEB",
"url" : "https://github.com/Islandora/Crayfish/commit/64cb4cec688928798cc40e6f0a0e863d7f69fd89"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Islandora/Crayfish"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-150", "CWE-157" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-01-15T22:04:19Z",
"nvd_published_at" : "2025-02-13T01:15:25Z"
}
}