CVE & CISA-KEV Catalog

CVE-2026-78254

HIGH
7.4
CVSS v3
NVD

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 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.

How to fix

Remediation Available
antDebian
Fixed in:1.10.18-1CVE-2026-78254

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploit Intelligence

0.54%probability of exploitation in 30 days
44thpercentile

Moderate risk: more likely to be exploited than 44% of all known CVEs.

References

Vendor Advisory1
Third-Party Advisory1

Related Vulnerabilities

Other CWE-23 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-27199High7.3100%KEV + RansomFix
CVE-2020-5410High7.596%KEVFix
CVE-2021-40870Critical9.893%KEVFix
CVE-2025-64446Critical9.892%KEVFix
CVE-2020-5405Medium6.569%-Fix
CVE-2025-55752High7.567%-Fix

Common questions

How do I fix CVE-2026-78254?

Upgrade ant on debian unstable to 1.10.18-1 or later.

Is CVE-2026-78254 being actively exploited?

Not that we know of. CVE-2026-78254 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.54% is the estimated probability that it will be exploited in the next 30 days. That is higher than 44% of all scored CVEs.

How severe is CVE-2026-78254?

CVE-2026-78254 has a CVSS v3 base score of 7.4, rated important. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-78254 affect?

Published advisories record a fix for ant (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2026-78254
CVE-2026-78254 severity badge

Markdown

[![CVE-2026-78254](https://tridentstack.com/cve/badge/CVE-2026-78254.svg)](https://tridentstack.com/cve/CVE-2026-78254)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-78254"><img src="https://tridentstack.com/cve/badge/CVE-2026-78254.svg" alt="CVE-2026-78254"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-09-09.