MODERATE 5.4

CVE-2026-26032

Apache Ivy: PackagerResolver path traversal vulnerability

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.ivy » ivypreliminary
>= 2.0.0, <= 2.5.3
-

Blast radius

1affected artifacts
20affected versions
7,727dependent artifacts (est.)
511,491dependent versions

63% of the dependent artifacts (4,882) still pull an affected version in their latest release.

DepthDependent versions
Direct
27,703
2 hops
227,072
3 hops
148,532
4 hops
76,589
5 hops
24,889
6 hops
6,706

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.