Home / Apache Software Foundation / Apache Ant / CVE-2026-78254
CVE-2026-78254: is it exploited, and which versions of Apache Software Foundation Apache Ant are affected and fixed?
CVE-2026-78254 is a path traversal vulnerability in Apache Software Foundation Apache Ant. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: Apache Ant from 1.2 before 1.10.18 (CVE record by apache). Fixed in 1.10.18 (CVE record by apache). Severity: High (7.4, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:07 UTC.
What is CVE-2026-78254?
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'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.
From the CVE record by apache, last updated September 8, 2026, 15:45 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Ant org.apache.ant:ant | from 1.2 before 1.10.18 | 1.10.18 |
As the CVE record by apache states it, last updated September 8, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | ant | before 1.10.18 | application |
NVD analysis (status Analyzed), last modified September 9, 2026, 13:29 UTC.
How severe is CVE-2026-78254?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-78254 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, September 8, 2026)
- EPSS
- 0.52% probability of exploitation activity in the next 30 days, percentile 45.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-23 Relative Path Traversal
Where are the vendor advisories and references?
- https://lists.apache.org/thread/05s46qrlbhd06c6rsgvxh8zo0l4p9scz vendor-advisory
- http://www.openwall.com/lists/oss-security/2026/09/06/2
When was it published, and where is the official record?
- Reserved
- August 24, 2026
- Published
- September 7, 2026, 07:41 UTC
- CVE record updated
- September 8, 2026, 15:45 UTC by apache
- NVD
- Analyzed, last modified September 9, 2026, 13:29 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:07 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Ant?
- Jul 14, 2021CVE-2021-36374 Apache Software Foundation Apache Ant: improper Handling of Length Parameter Inconsistency
- Jul 14, 2021CVE-2021-36373 Apache Software Foundation Apache Ant: improper Handling of Length Parameter Inconsistency
Questions about CVE-2026-78254
Is CVE-2026-78254 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.52% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache Ant are affected by CVE-2026-78254?
Apache Ant from 1.2 before 1.10.18, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2026-78254?
1.10.18, per the CVE record by apache. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-78254?
High (7.4, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-78254?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.