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.
Published: 2026-07-15
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The PackagerResolver module in Apache Ivy allows an attacker to download artifacts and repack them via an Ant script stored under a subdirectory of the configured buildRoot. Because the subdirectory name is derived from module coordinates such as organisation, name, and version, an attacker who injects a coordinate containing the string "../" can cause the path calculation to escape the intended buildRoot and overwrite any file within that directory. This flaw is a classic path‑traversal vulnerability and can replace legitimate files with malicious ones if write rights are granted.

Affected Systems

Apache Software Foundation’s Ivy product, versions 2.0.0 through 2.5.3, is affected. The issue is confined to the PackagerResolver module across this version range.

Risk and Exploitability

The CVSS base score of 5.4 indicates moderate severity, and the EPSS score of less than 1% suggests a low likelihood of exploitation in the wild. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires an attacker to gain write access to a packager repository and modify an ivy.xml file to include coordinates containing "../" sequences. Hence the attack vector is restricted, but the potential impact of file overwrite remains significant if write privileges are granted.

Generated by OpenCVE AI on July 31, 2026 at 03:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache Ivy to version 2.6.0 or later.
  • Restrict write access to the packager repository, ensuring only trusted users can modify ivy.xml files.
  • Implement input validation to reject coordinates containing directory traversal patterns such as "../" before processing them.

Generated by OpenCVE AI on July 31, 2026 at 03:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 15 Jul 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache ivy
Vendors & Products Apache
Apache ivy

Wed, 15 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 15 Jul 2026 19:15:00 +0000

Type Values Removed Values Added
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.
Title Apache Ivy: PackagerResolver path traversal vulnerability
Weaknesses CWE-22
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-07-15T19:31:07.994Z

Reserved: 2026-02-09T22:55:23.574Z

Link: CVE-2026-26032

cve-icon Vulnrichment

Updated: 2026-07-15T19:27:51.628Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T03:15:04Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')