CVE-2026-26032
JSON

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 packageVersionsReported by
org.apache.ivy:ivyfrom 2.0.0 up to 2.5.3CVE List
apache ivyfrom 2.0.0 before 2.6.0NVD

Classification

CWE-22

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

Sources

SourceRecordLicence
CVE ListCVE-2026-26032 changed 2026-07-15CVE Terms of Use
NVDCVE-2026-26032 changed 2026-10-24Public domain