Skip to content
VulniPulse
Highest advisory severityHigh 2 vendors · 2 advisories

CVE-2026-78254

The ftp and scp tasks of Apache Ant can download files from a remote server

CVE-2026-78254: The ftp and scp tasks of Apache Ant can download files from a remote server. Not in the CISA KEV catalog.

Compare the source-linked records below. Ratings and product/version details belong to each advisory; they are not a single CVE-wide score or proof that every listed product is affected. How VulniPulse collects and checks evidence.

Get an email when Apache publishes the next one.

VulniPulse checks Apache's security advisories around the clock and emails you new ones with the severity, the fixed version and the vendor's link. First month free, then US$15/month; we email you before the first charge.

Start your free month

CVE-2026-78254 key facts

CISA KEV
Not listed (catalog checked )
Highest advisory severity
High
CVSS base score
7.4 (Apache), 6.8 (Red Hat)
Fixed releases
  • Apache: 1.10.18
  • Red Hat: 1.10.18
Vendor advisories
2 from Apache, Red Hat
VulniPulse record
Published · Updated

Scores, vectors, weaknesses and fixed releases are quoted from vendor advisories that cover only CVE-2026-78254; bulletin-wide values are not repeated here.

Is CVE-2026-78254 exploited?

No exploitation is reported in the sources VulniPulse tracks: CVE-2026-78254 is not in the CISA KEV catalog (checked ) and no tracked advisory for it reports exploitation. That is not proof the vulnerability cannot be exploited.

How do I fix CVE-2026-78254?

Upgrade to a fixed release named by the vendor:

  • Apache: 1.10.18
  • Red Hat: 1.10.18
  • All users are recommended to upgrade to Apache Ant 1.10.18, which fixes this issue. (Apache)
  • To mitigate this vulnerability, users of Apache Ant's `scp` and `ftp` tasks should ensure that server identity checks are not bypassed. For `ftp` tasks not utilizing `ftps`, it is recommended to configure the tasks to use `ftps` to enhance security against machine-in-the-middle attacks. (Red Hat)

Vendor advisory comparison

Apache

1 advisory
  • Advisory severityHigh7.4

    High [CVE-2026-78254] The ftp and scp tasks of Apache Ant can download files from a remote server

    CVE-2026-78254Source published Source updated

    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…

    Affected products in this advisory
    • Apache Ant
    Source-reported affected versions
    • Apache Ant 1.2 before 1.10.18
    Source-reported fixed versions
    • 1.10.18
    Mitigation guidance
    • All users are recommended to upgrade to Apache Ant 1.10.18, which fixes this issue.
    Workarounds
    • An option is available to disable this behavior in the unlikely case that the old behavior is required by existing build files.

Red Hat

1 advisory
  • Advisory severityMedium6.8

    Medium [CVE-2026-78254] Arbitrary file write via path traversal in ftp and scp tasks

    CVE-2026-78254Source published Source updated

    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…

    Affected products in this advisory
    • Migration Toolkit for Applications 8
    • OpenShift Developer Tools and Services
    • Red Hat build of Apicurio Registry 3
    • Red Hat Enterprise Linux 10

    21 more entries in the full advisory.

    Source-reported affected versions
    • < 1.10.18
    Source-reported fixed versions
    • 1.10.18
    Mitigation guidance
    • To mitigate this vulnerability, users of Apache Ant's `scp` and `ftp` tasks should ensure that server identity checks are not bypassed. For `ftp` tasks not utilizing `ftps`, it is recommended to configure the tasks to use `ftps` to enhance security against machine-in-the-middle attacks.
All Apache advisories

Follow CVE-2026-78254 in the free weekly digest

Every Monday: whether it was added to CISA KEV, reported exploited, got a fix or changed severity, plus the week's critical and high advisories.

Free, no account. Confirm by email; unsubscribe in one click. Choose vendors and severity

Browse the latest tracked CVEs or the CVEs listed in CISA KEV.

Android app · Google Play

Get alerts for new CVEs on your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery