Vulnerability · Published Sep 8, 2025 · Assigned by apache
CVE-2025-58782Apache Jackrabbit Core, Apache Jackrabbit JCR Commons: JNDI injection risk with JndiRepositoryFactory
Medium 6.5
In plain English
A medium-severity unsafe deserialization in Apache Jackrabbit Core from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Deserialization 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | jackrabbit | no fix listed | DEBIAN-CVE-2025-58782 |
| Debian:13 | jackrabbit | no fix listed | DEBIAN-CVE-2025-58782 |
| Debian:14 | jackrabbit | no fix listed | DEBIAN-CVE-2025-58782 |
| Maven | org.apache.jackrabbit:jackrabbit-core | 2.22.2 | GHSA-cxvc-g8f2-4gmm |
| Maven | org.apache.jackrabbit:jackrabbit-jcr-commons | 2.22.2 | GHSA-cxvc-g8f2-4gmm |
| Ubuntu:22.04:LTS | jackrabbit | no fix listed | UBUNTU-CVE-2025-58782 |
| Ubuntu:24.04:LTS | jackrabbit | no fix listed | UBUNTU-CVE-2025-58782 |
| Ubuntu:25.10 | jackrabbit | no fix listed | UBUNTU-CVE-2025-58782 |
| Ubuntu:26.04:LTS | jackrabbit | no fix listed | UBUNTU-CVE-2025-58782 |
| Ubuntu:26.10 | jackrabbit | no fix listed | UBUNTU-CVE-2025-58782 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Jackrabbit Core | 1.0.0 – through 2.22.1 |
| Apache Software Foundation | Apache Jackrabbit JCR Commons | 1.0.0 – through 2.22.1 |
Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N