CVE-2025-58782
Apache Jackrabbit: Core and JCR Commons are vulnerable to Deserialization of Untrusted Data
Description
There is a serialization of Untrusted Data vulnerability in Apache Jackrabbit Core and Apache Jackrabbit JCR Commons.
This issue affects Apache Jackrabbit Core: from 1.0.0 through 2.22.1; Apache Jackrabbit JCR Commons: from 1.0.0 through 2.22.1.
Deployments that accept JNDI URIs for JCR lookup from untrusted users allows them to inject malicious JNDI references, potentially leading to arbitrary code execution through deserialization of untrusted data. Users are recommended to upgrade to version 2.22.2. JCR lookup through JNDI has been disabled by default in 2.22.2. Users of this feature need to enable it explicitly and are adviced to review their use of JNDI URI for JCR lookup.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.jackrabbit » jackrabbit-core | >= 1.0.0, < 2.22.2 | 2.22.2 |
| org.apache.jackrabbit » jackrabbit-jcr-commons | >= 1.0.0, < 2.22.2 | 2.22.2 |
Blast radius
79% of the dependent artifacts (3,338) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 26,635 |
| 2 hops | 60,616 |
| 3 hops | 42,896 |
| 4 hops | 29,407 |
| 5 hops | 23,676 |
| 6 hops | 16,035 |
Most used dependents
- org.apache.maven.plugins » maven-compiler-plugin126,333 usages
- org.apache.maven.plugins » maven-javadoc-plugin84,916 usages
- org.apache.maven.plugins » maven-surefire-plugin67,265 usages
- org.apache.maven.plugins » maven-jar-plugin59,787 usages
- org.apache.felix » maven-bundle-plugin31,882 usages
- org.apache.maven.plugins » maven-release-plugin29,114 usages
- org.apache.maven.plugins » maven-assembly-plugin28,314 usages
- org.apache.maven.plugins » maven-dependency-plugin26,231 usages
- org.apache.maven.plugins » maven-resources-plugin22,649 usages
- org.codehaus.mojo » build-helper-maven-plugin22,347 usages
- org.apache.maven.plugins » maven-enforcer-plugin16,359 usages
- org.apache.maven.plugins » maven-checkstyle-plugin11,720 usages
- org.apache.maven.plugins » maven-failsafe-plugin11,158 usages
- org.apache.maven.plugins » maven-site-plugin9,107 usages
- org.springframework.boot » spring-boot-maven-plugin8,665 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2025-58782 | nvd.nist.gov |
| Package | apache/jackrabbit | github.com |
| Web | apache/jackrabbit pull request #229 | github.com |
| Web | jira/browse/JCR-5135 | issues.apache.org |
| Web | thread/t4wdrost6dh17dh406g792j9wq6xmy6v | lists.apache.org |
| Web | lists/oss-security/2025/09/06/3 | openwall.com |
