6.5medium
Apache Jackrabbit Core, Apache Jackrabbit JCR Commons: JNDI injection risk with JndiRepositoryFactory
- Severity
- 6.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.38% (higher than 72% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-cxvc-g8f2-4gmm
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
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.jackrabbit:jackrabbit-core | from 1.0.0 up to 2.22.1 | CVE List |
| org.apache.jackrabbit:jackrabbit-jcr-commons | from 1.0.0 up to 2.22.1 | CVE List |
| org.apache.jackrabbit:jackrabbit-core (Maven) | from 1.0.0 before 2.22.2 | GitHub Advisory Database |
| org.apache.jackrabbit:jackrabbit-jcr-commons (Maven) | from 1.0.0 before 2.22.2 | GitHub Advisory Database |
| apache jackrabbit | from 1.0.0 before 2.22.2 | NVD |
All scores
| CISA-ADP | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Vulnerabilidad de deserialización de datos no confiables en Apache Jackrabbit Core y Apache Jackrabbit JCR Commons. Este problema afecta a Apache Jackrabbit Core: desde 1.0.0 hasta 2.22.1; Apache Jackrabbit JCR Commons: desde 1.0.0 hasta 2.22.1. Las implementaciones que aceptan URIs JNDI para búsquedas JCR de usuarios no confiables les permite inyectar referencias JNDI maliciosas, lo que podría conducir a ejecución de código arbitrario a través de la deserialización de datos no confiables. Se recomienda a los usuarios actualizar a la versión 2.22.2. La búsqueda JCR a través de JNDI ha sido deshabilitada por defecto en 2.22.2. Los usuarios de esta característica necesitan habilitarla explícitamente y se les aconseja revisar su uso de URIs JNDI para búsquedas JCR.
References
| https://lists.apache.org/thread/t4wdrost6dh17dh406g792j9wq6xmy6v | mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2025/09/06/3 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-58782 | advisory | |
| https://github.com/apache/jackrabbit/pull/229 | web | |
| https://github.com/apache/jackrabbit | package | |
| https://issues.apache.org/jira/browse/JCR-5135 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-58782 changed 2025-11-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cxvc-g8f2-4gmm changed 2025-11-05 | CC-BY-4.0 |
| NVD | CVE-2025-58782 changed 2026-10-18 | Public domain |