5.4medium
Apache Ivy: PackagerResolver path traversal vulnerability
- Severity
- 5.4medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.70% (higher than 49% of CVEs)
- Published
- Last changed
- Assigned by
- apache
Description
The PackagerResolver of Apache Ivy is able to download online artifacts and to (re)package them in a format defined by a packager.xml file. This repackaging is done by an Ant script, which is stored in a subdirectory of the configured "buildRoot" directory. This subdirectory is calculated based on modules coordinates, like the organisation, name or version. If one of the coordinates contains "../" sequences - which are valid characters for Ivy coordinates in general- it is possible to break out of the configured "buildRoot" directory where other files can be overwritten. In order to exploit this vulnerability an attacker needs to have access to a packager repository and add or modify the coordinates in ivy.xml files to have such "../" sequences. Users of Apache Ivy 2.0.0 to 2.5.3 (inclusive) should upgrade to Ivy 2.6.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.ivy:ivy | from 2.0.0 up to 2.5.3 | CVE List |
| apache ivy | from 2.0.0 before 2.6.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
The PackagerResolver of Apache Ivy is able to download online artifacts and to (re)package them in a format defined by a packager.xml file. This repackaging is done by an Ant script, which is stored in a subdirectory of the configured "buildRoot" directory. This subdirectory is calculated based on modules coordinates, like the organisation, name or version. If one of the coordinates contains "../" sequences - which are valid characters for Ivy coordinates in general- it is possible to break out of the configured "buildRoot" directory where other files can be overwritten. In order to exploit this vulnerability an attacker needs to have access to a packager repository and add or modify the coordinates in ivy.xml files to have such "../" sequences. Users of Apache Ivy 2.0.0 to 2.5.3 (inclusive) should upgrade to Ivy 2.6.0.
NVD (es)
El PackagerResolver de Apache Ivy es capaz de descargar artefactos en línea y de (re)empaquetarlos en un formato definido por un archivo packager.xml. Este reempaquetado se realiza mediante un script Ant, el cual se almacena en un subdirectorio del directorio “buildRoot” configurado. Este subdirectorio se calcula basándose en las coordenadas de los módulos, como la organización, el nombre o la versión. Si una de las coordenadas contiene secuencias “.. / ” - las cuales son caracteres válidos para las coordenadas de Ivy en general- es posible salirse del directorio “buildRoot” configurado donde otros archivos pueden ser sobrescritos. Para explotar esta vulnerabilidad un atacante necesita tener acceso a un repositorio de empaquetador y añadir o modificar las coordenadas en los archivos ivy.xml para que contengan dichas secuencias “.. / ”. Los usuarios de Apache Ivy 2.0.0 a 2.5.3 (inclusive) deberían actualizar a Ivy 2.6.0.
References
| https://lists.apache.org/thread/4d9dzrlnoplvywnyj9x6w84kxg7n3jyq | mitigation, vendor-advisory | |
| http://www.openwall.com/lists/oss-security/2026/07/15/5 | mailing-list, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-26032 changed 2026-07-15 | CVE Terms of Use |
| NVD | CVE-2026-26032 changed 2026-10-24 | Public domain |