CVE-2026-78254
apache ant
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.4
- Severity
- 7.4
- EPSS
- 0.5 %
- Percentile
- 46
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run apache ant. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- Nobody has to click anything.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDThe 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.
- Vendor / product
- apache ant
- Published
- 07.09.2026
- Modified
- 09.09.2026
- CWE
- CWE-23
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Vendor updates
14- SUSE: SUSE-SU-2026:5498-1 – Security update for ant 27.11.2026 · Critical · Patch day
- Red Hat: RHSA-2026:88159 – RHSA-2026:88159 registry.redhat.io/ocp-tools-4/jenkins-agent-base-rhel9@sha256:3dcbd00ff91248e9871ad688eb377e53fa0a11a86fc … 22.10.2026 · Patch day
- Red Hat: RHSA-2026:88158 – RHSA-2026:88158 registry.redhat.io/ocp-tools-4/jenkins-rhel9@sha256:9bf61591ae9da1e7ae4cb794333472e636400e17d1227c57bd8cc5 … 22.10.2026 · Patch day
- Red Hat: RHSA-2026:88157 – RHSA-2026:88157 registry.redhat.io/ocp-tools-4/jenkins-agent-base-rhel9@sha256:d9d42251d8cbe542743dabf866b17ea8c6ef481e1c2 … 22.10.2026 · Patch day
- Red Hat: RHSA-2026:88156 – RHSA-2026:88156 registry.redhat.io/ocp-tools-4/jenkins-agent-base-rhel9@sha256:b1aebb9beb425d687e64f88c7d8b645b272a2c136fe … 22.10.2026 · Patch day
- Red Hat: RHSA-2026:88155 – RHSA-2026:88155 registry.redhat.io/ocp-tools-4/jenkins-agent-base-rhel9@sha256:5e47d99f9717f635e3d1c4a57dc32b7f59543dbbb9f … 22.10.2026 · Patch day
- Red Hat: RHSA-2026:88154 – RHSA-2026:88154 registry.redhat.io/ocp-tools-4/jenkins-agent-base-rhel9@sha256:139c02c73fa169816e2ad7884b5f27ecc325b5ebe7e … 22.10.2026 · Patch day
- Red Hat: RHSA-2026:88153 – RHSA-2026:88153 registry.redhat.io/ocp-tools-4/jenkins-rhel9@sha256:c02cbeaf85b1feaa1669180a01870674914b0f99a31815931c1dcf … 22.10.2026 · Patch day
- Red Hat: RHSA-2026:88151 – RHSA-2026:88151 registry.redhat.io/ocp-tools-4/jenkins-agent-base-rhel8@sha256:12c22adcc3658e499e5c3bb41beeacd720a85cc4a20 … 22.10.2026 · Patch day
- Red Hat: RHSA-2026:88152 – RHSA-2026:88152 registry.redhat.io/ocp-tools-4/jenkins-agent-base-rhel8@sha256:fb0f2ae78c1ed7aebc2a6af8eb3c0a5360513010bed … 22.10.2026 · Patch day
- Red Hat: RHSA-2026:88149 – RHSA-2026:88149 registry.redhat.io/ocp-tools-4/jenkins-agent-base-rhel8@sha256:9bdf844297be4d52e050e68dc47edade0fa4c21aa28 … 22.10.2026 · Patch day
- Red Hat: RHSA-2026:88150 – RHSA-2026:88150 registry.redhat.io/ocp-tools-4/jenkins-agent-base-rhel8@sha256:7cc907a81dced7ced65acae1bf76ae91ca96f774269 … 22.10.2026 · Patch day
- SUSE: SUSE-SU-2026:4677-1 – Security update for the Java stack 15.10.2026 · Critical · Patch day
- Microsoft: Mariner 11.09.2026 · High · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.