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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://lists.apache.org/thread/4d9dzrlnoplvywnyj9x6w84kxg7n3jyq Mitigation, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.4 · apacheNVD modified 2026-10-24 21:10
Affected (CPE criteria) 1
cpe:2.3:a:apache:ivy:*:*:*:*:*:*:*:*
References 2
- 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