ALAS2-2026-4020
Active ImportantALAS2-2026-4020 (important): ant
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 1 records
| CVE | Relationship | Publisher CVE field | Publisher evidence |
|---|---|---|---|
| CVE-2026-78254 | Listed by advisoryExact relationship valueadvisory_list | Publisher referencesExact field valuereferences | https://alas.aws.amazon.com/AL2/ALAS2-2026-4020.html |
Description
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's choice using the permissions of the user running Ant in versions prior to Ant 1.10.18. In order
Read full publisher description 1252 characters
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's choice using the permissions of the user running Ant in versions prior to Ant 1.10.18. In order to exploit this vulnerability, the server would either have to be malicious or be subject to a machine-in-the-middle attack. Additionally in the case of scp or the ftp task using ftps the server must pass the server identity checks performed by the tasks. For ftp tasks not using ftps a malicious server could act as a machine-in-the-middle to provide malicious files. Starting with Ant 1.10.18 both tasks will prevent writing outside of the destination directory by default. An option is available to disable this behavior in the unlikely case that the old behavior is required by existing build files. Mitigations: Users of scp and ftp (when using ftps) in any version of Ant should not bypass server identity checks. Users of ftp not using ftps should switch to ftps where possible. All users are recommended to upgrade to Apache Ant 1.10.18, which fixes this issue. (CVE-2026-78254)
Solution
Run yum update ant or yum update --advisory ALAS2-2026-4020 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 2 occurrences-
1ant
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- ant-1.9.16-1.amzn2.0.2.noarch
- ant-jmf-1.9.16-1.amzn2.0.2.noarch
- ant-swing-1.9.16-1.amzn2.0.2.noarch
- ant-antlr-1.9.16-1.amzn2.0.2.noarch
- ant-apache-bsf-1.9.16-1.amzn2.0.2.noarch
- ant-apache-resolver-1.9.16-1.amzn2.0.2.noarch
- ant-commons-logging-1.9.16-1.amzn2.0.2.noarch
- ant-commons-net-1.9.16-1.amzn2.0.2.noarch
- ant-apache-bcel-1.9.16-1.amzn2.0.2.noarch
- ant-apache-log4j-1.9.16-1.amzn2.0.2.noarch
- ant-apache-oro-1.9.16-1.amzn2.0.2.noarch
- ant-apache-regexp-1.9.16-1.amzn2.0.2.noarch
- ant-apache-xalan2-1.9.16-1.amzn2.0.2.noarch
- ant-javamail-1.9.16-1.amzn2.0.2.noarch
- ant-jdepend-1.9.16-1.amzn2.0.2.noarch
- ant-jsch-1.9.16-1.amzn2.0.2.noarch
- ant-junit-1.9.16-1.amzn2.0.2.noarch
- ant-testutil-1.9.16-1.amzn2.0.2.noarch
- ant-manual-1.9.16-1.amzn2.0.2.noarch
- ant-javadoc-1.9.16-1.amzn2.0.2.noarch
-
2ant
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- ant-1.9.16-1.amzn2.0.2.src
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
2- CVE-2026-78254 https://access.redhat.com/security/cve/CVE-2026-78254
- CVE-2026-78254 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-78254
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2026-4020.html | Unknown | 86e0af4f469b4c0ac10e91c0e881a3fb393cb6ed59790b595ef4aab257fb42a1 | amazon-alas/1 | 2026-11-16T08:26:43Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-4020.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T08:26:43Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-4020.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T08:26:43Z |