SB2026090711 - Path traversal in Apache Ant
Published: September 7, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Path traversal (CVE-ID: CVE-2026-78254)
CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVSSv4: 5.6 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to overwrite arbitrary files.
The vulnerability exists due to path traversal in the ftp and scp tasks when processing files downloaded from a malicious server. A remote attacker can provide relative paths to write files outside the dedicated download target directory.
For scp and FTPS, the server must pass the tasks\' server identity checks; non-FTPS FTP connections may be subject to a machine-in-the-middle attack.
Remediation
Install update from vendor's website.