# CVE-2025-58782: Apache Jackrabbit Core, Apache Jackrabbit JCR Commons: JNDI injection risk with JndiRepositoryFactory

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.38%, higher than 72% of CVEs (2026-12-01)
- Published: 2025-09-08T08:53:15.818Z
- Modified: 2026-10-18T21:10:00.120Z
- Also known as: GHSA-cxvc-g8f2-4gmm
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- org.apache.jackrabbit:jackrabbit-core: from 1.0.0 up to 2.22.1
- org.apache.jackrabbit:jackrabbit-jcr-commons: from 1.0.0 up to 2.22.1
- org.apache.jackrabbit:jackrabbit-core (Maven): from 1.0.0 before 2.22.2
- org.apache.jackrabbit:jackrabbit-jcr-commons (Maven): from 1.0.0 before 2.22.2
- apache jackrabbit: from 1.0.0 before 2.22.2

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## 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

- CVE List: [CVE-2025-58782](https://www.cve.org/CVERecord?id=CVE-2025-58782), CVE Terms of Use, modified 2025-11-04
- GitHub Advisory Database: [GHSA-cxvc-g8f2-4gmm](https://github.com/advisories/GHSA-cxvc-g8f2-4gmm), CC-BY-4.0, modified 2025-11-05
- NVD: [CVE-2025-58782](https://nvd.nist.gov/vuln/detail/CVE-2025-58782), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-58782 · Whole record: https://cve.day/CVE-2025-58782.json · Rebuilt by cve.day 2026-11-25T22:59:04.325Z
