Vulnerabilities in pkg:maven/org.apache.jackrabbit/jackrabbit-jcr-commons
PACKAGECVE-2025-58782 is a MODERATE (CVSS 6.5) core and jcr commons are vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Apache Jackrabbit libraries in the Maven ecosystem. The issue involves core and jcr commons are vulnerable to deserialization of untrusted data. Remediation is available by upgrading affected packages to version 2.22.2.
pkg:maven/org.apache.jackrabbit/jackrabbit-jcr-commons
Vulnerability advisories affecting package pkg:maven/org.apache.jackrabbit/jackrabbit-jcr-commons. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-cxvc-g8f2-4gmm | CVE-2025-58782 | MODERATE | Apache Jackrabbit: Core and JCR Commons are vulnerable to Deserialization of Untrusted Data |
CVE-2025-58782 at a Glance
Security Impact
CVSS: 6.5
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:L/I:L/A:N).
How to Fix CVE-2025-58782
To remediate this vulnerability, upgrade all affected Apache Jackrabbit dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-core</artifactId>
<version>2.22.2</version>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-jcr-commons</artifactId>
<version>2.22.2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.jackrabbit
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-58782, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.jackrabbit
Analyze the terminal output to locate any version of Apache Jackrabbit in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.22.2), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.jackrabbit command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Apache Jackrabbit, 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-58782 Affected Apache Jackrabbit Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.jackrabbit:jackrabbit-core
|
Maven |
≥ 1.0.0
< 2.22.2
|
2.22.2
|
|
org.apache.jackrabbit:jackrabbit-jcr-commons
|
Maven |
≥ 1.0.0
< 2.22.2
|
2.22.2
|
References
Frequently Asked Questions
What is CVE-2025-58782?
Which Apache Jackrabbit versions are affected?
What version fixes CVE-2025-58782?
Is jackrabbit-core affected?
Is jackrabbit-jcr-commons affected?
What is the CVSS score of CVE-2025-58782?
What CWE is associated with CVE-2025-58782?
How can I check Maven dependencies for CVE-2025-58782?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cxvc-g8f2-4gmm",
"modified" : "2025-11-05T20:43:58Z",
"published" : "2025-09-08T09:31:09Z",
"aliases" : [ "CVE-2025-58782" ],
"summary" : "Apache Jackrabbit: Core and JCR Commons are vulnerable to Deserialization of Untrusted Data",
"details" : "There is a serialization of Untrusted Data vulnerability in Apache Jackrabbit Core and Apache Jackrabbit JCR Commons.\n\nThis 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.\n\nDeployments 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.jackrabbit:jackrabbit-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "2.22.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.jackrabbit:jackrabbit-jcr-commons"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "2.22.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-58782"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/jackrabbit/pull/229"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/jackrabbit"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/JCR-5135"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/t4wdrost6dh17dh406g792j9wq6xmy6v"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/09/06/3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-09-09T15:14:38Z",
"nvd_published_at" : "2025-09-08T09:15:30Z"
}
}