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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Ivy | 2.0.0 – ≤ 2.5.3 | — |
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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ivy | No fix yet | — |
| Ubuntu 26.04 LTS | ivy | No fix yet | — |
| Ubuntu 24.04 LTS | ivy | No fix yet | — |
| Ubuntu 22.04 LTS | ivy | No fix yet | — |
| Ubuntu 20.04 LTS | ivy | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | ivy | No fix yet | — |
| Ubuntu 16.04 LTS | ivy | No fix yet | — |
| Ubuntu 14.04 LTS | ivy | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | apache-commons-compress | 1.28.0-150200.3.19.1 | SUSE-SU-2026:3225-1 |
| SLES 15 SP7 | apache-ivy | 2.6.0-150200.3.12.1 | SUSE-SU-2026:3225-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | apache-ivy | 2.6.0-160000.1.1 | SUSE-SU-2026:22858-1 |
| SLES 16.0 | apache-ivy | 2.6.0-160000.1.1 | SUSE-SU-2026:22858-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | apache-ivy | 2.6.0-1.1 | openSUSE-SU-2026:11326-1 |
| openSUSE Leap 16.0 | apache-ivy | 2.6.0-160000.1.1 | openSUSE-SU-2026:21424-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | apache-ivy +1 | 2.5.1-1.amzn2023.0.3 | ALAS2023-2026-3207 |
| Amazon Linux 2 | apache-ivy +1 | 2.3.0-4.amzn2.0.3 | ALAS2-2026-3993 |
Advisories 7
- WID-SEC-2026-2373 Apache Ivy: Schwachstelle ermöglicht Manipulation von Dateien BSI CERT-Bund (WID) · Oct 12, 2026
- ALAS2-2026-3993 Moderate: apache-ivy security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 12, 2026
- ALAS2023-2026-3207 Moderate: apache-ivy security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 12, 2026
- SUSE-SU-2026:22858-1 Security update for apache-ivy SUSE / openSUSE Security Updates · Jul 28, 2026
- openSUSE-SU-2026:21424-1 Security update for apache-ivy SUSE / openSUSE Security Updates · Jul 24, 2026
- SUSE-SU-2026:3225-1 Security update for apache-commons-compress, apache-ivy, brotli-java, zstd-jni SUSE / openSUSE Security Updates · Jul 24, 2026
- openSUSE-SU-2026:11326-1 apache-ivy-2.6.0-1.1 on GA media SUSE / openSUSE Security Updates · Jul 23, 2026
References
- https://lists.apache.org/thread/4d9dzrlnoplvywnyj9x6w84kxg7n3jyq vendor-advisory