Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-78254

Type: advisorySource: OSV1 source record

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.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-78254

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-78254

ant

Source reference: /affected/0/package/name

Affected versions
1.10.13-1

Source reference: /affected/0/versions

1.10.13-2

Source reference: /affected/0/versions

1.10.14-1

Source reference: /affected/0/versions

1.10.14-1~bpo12+1

Source reference: /affected/0/versions

1.10.15-1

Source reference: /affected/0/versions

1.10.15-1~bpo12+1

Source reference: /affected/0/versions

1.10.16-1

Source reference: /affected/0/versions

1.10.17-1

Source reference: /affected/0/versions

1.10.18-1

Source reference: /affected/0/versions

1.10.18-1~bpo13+1

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

ant

Source reference: /affected/1/package/name

Affected versions
1.10.15-1

Source reference: /affected/1/versions

1.10.16-1

Source reference: /affected/1/versions

1.10.17-1

Source reference: /affected/1/versions

1.10.18-1

Source reference: /affected/1/versions

1.10.18-1~bpo13+1

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

ant

Source reference: /affected/2/package/name

Affected versions
1.10.15-1

Source reference: /affected/2/versions

1.10.16-1

Source reference: /affected/2/versions

1.10.17-1

Source reference: /affected/2/versions

1.10.18-1~bpo13+1

Source reference: /affected/2/versions

Fixed versions
1.10.18-1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "ant",
      "purl": "pkg:deb/debian/ant?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "1.10.13-1",
      "1.10.13-2",
      "1.10.14-1",
      "1.10.14-1~bpo12+1",
      "1.10.15-1",
      "1.10.15-1~bpo12+1",
      "1.10.16-1",
      "1.10.17-1",
      "1.10.18-1",
      "1.10.18-1~bpo13+1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-78254.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "ant",
      "purl": "pkg:deb/debian/ant?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "1.10.15-1",
      "1.10.16-1",
      "1.10.17-1",
      "1.10.18-1",
      "1.10.18-1~bpo13+1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-78254.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.10.18-1"
          }
        ]
      }
    ],
    "package": {
      "name": "ant",
      "purl": "pkg:deb/debian/ant?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "1.10.15-1",
      "1.10.16-1",
      "1.10.17-1",
      "1.10.18-1~bpo13+1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-78254.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#58353 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement