{"id":"CVE-2025-58782","aliases":["CVE-2025-58782","GHSA-cxvc-g8f2-4gmm"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Jackrabbit Core, Apache Jackrabbit JCR Commons: JNDI injection risk with JndiRepositoryFactory","summary":"Deserialization 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.\nUsers 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Deserialization 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.\nUsers 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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Vulnerabilidad de deserialización de datos no confiables en Apache Jackrabbit Core y Apache Jackrabbit JCR Commons.\n\nEste 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.\n\nLas 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.\nSe 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.","source":"nvd"}],"published":"2025-09-08T08:53:15.818Z","modified":"2026-10-18T21:10:00.120Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"1.0.0","lastAffected":"2.22.1","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Jackrabbit Core","package":"org.apache.jackrabbit:jackrabbit-core","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.0.0","lastAffected":"2.22.1","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Jackrabbit JCR Commons","package":"org.apache.jackrabbit:jackrabbit-jcr-commons","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.0.0","status":"affected","fixed":"2.22.2"}],"ecosystem":"Maven","package":"org.apache.jackrabbit:jackrabbit-core","purl":"pkg:maven/org.apache.jackrabbit/jackrabbit-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.0.0","status":"affected","fixed":"2.22.2"}],"ecosystem":"Maven","package":"org.apache.jackrabbit:jackrabbit-jcr-commons","purl":"pkg:maven/org.apache.jackrabbit/jackrabbit-jcr-commons","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.0.0","fixed":"2.22.2"}],"vendor":"apache","product":"jackrabbit","cpe":"cpe:2.3:a:apache:jackrabbit:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/t4wdrost6dh17dh406g792j9wq6xmy6v","tags":["mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2025/09/06/3","tags":["mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58782","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/jackrabbit/pull/229","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/jackrabbit","tags":["package"],"sources":["ghsa"]},{"url":"https://issues.apache.org/jira/browse/JCR-5135","tags":["web"],"sources":["ghsa"]}],"credits":["James John"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-09-08T19:54:59.077Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-58782","url":"https://www.cve.org/CVERecord?id=CVE-2025-58782","licence":"CVE Terms of Use","modified":"2025-11-04T21:13:47.254Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cxvc-g8f2-4gmm","url":"https://github.com/advisories/GHSA-cxvc-g8f2-4gmm","licence":"CC-BY-4.0","modified":"2025-11-05T21:26:56.180Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-58782","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58782","licence":"Public domain","modified":"2026-10-18T21:10:00.120Z"}],"updatedAt":"2026-11-25T22:59:04.325Z","epss":{"score":0.01383,"percentile":0.72969,"date":"2026-12-01T12:00:22.000Z"}}