Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-58782 EUVD-2025-27118GHSA-cxvc-g8f2-4gmm

Apache Jackrabbit Core, Apache Jackrabbit JCR Commons: JNDI injection risk with JndiRepositoryFactory

Published Sep 8, 2025 · Updated Nov 4, 2025 · 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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Jackrabbit Core 1.0.0 – ≤ 2.22.1 —
Apache Software Foundation Apache Jackrabbit JCR Commons 1.0.0 – ≤ 2.22.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jackrabbit No fix yet —
Debian 13 jackrabbit No fix yet —
Debian 12 jackrabbit No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 jackrabbit No fix yet —
Ubuntu 26.04 LTS jackrabbit No fix yet —
Ubuntu 25.10 jackrabbit No fix yet —
Ubuntu 24.04 LTS jackrabbit No fix yet —
Ubuntu 22.04 LTS jackrabbit No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS jackrabbit No fix yet —
Ubuntu 18.04 LTS jackrabbit No fix yet —
Ubuntu 16.04 LTS jackrabbit No fix yet —
Ubuntu 14.04 LTS jackrabbit No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.jackrabbit:jackrabbit-core >= 1.0.0, < 2.22.2 2.22.2 GHSA-cxvc-g8f2-4gmm
Maven org.apache.jackrabbit:jackrabbit-jcr-commons >= 1.0.0, < 2.22.2 2.22.2 GHSA-cxvc-g8f2-4gmm

Advisories 1

References