Summary
This update for ant fixes the following issues:
- CVE-2026-78254: path traversal in ftp and scp tasks allows for arbitrary file writes (bsc#1280015).
Changes for ant:
Upgrade to upstream version 1.9.16:
* Changes that could break older environments:
+ 'unzip', 'unjar' and 'untar' no longer extract entries that
would be placed outside of the destination directory by
default; new attribute allowFilesToEscapeDest overrides it.
stripAbsolutePathSpec is now true by default (1.9.12)
+ 'copy' silently skips resources with null name instead of
throwing a BuildException (1.9.11)
+ 'fileset', 'zipfileset', 'tarfileset' using both dir and file
attributes on the same instance now fails the build (1.9.9)
+ 'exec' and 'apply' no longer ignore the dir attribute if it
equals the current working directory (1.9.7)
+ ClearCase#runS one-arg version no longer called (1.9.14)
* New property ant.tmpdir controls where temporary files are
created (1.9.15)
Fixed packages 2
| Release | Package | Fixed in |
|---|---|---|
| SUSE · SLES 12 SP5 Linux Enterprise Server 12 SP5-LTSS | ant | 1.9.16-3.15.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Server LTSS Extended Security 12 SP5 | ant | 1.9.16-3.15.1 |
Vulnerabilities 1
-
High 7.4
Apache Ant: Path traversal in ftp and scp tasks allows arbitrary file write
The ftp and scp tasks of Apache Ant can download files from a remote server. A malicious server can provide relative paths that allow it to write outside of the dedicated target directory for the download, making it possible to overwrite files of the attacker…