CVE-2026-78254: Apache Ant: Path traversal in ftp and scp tasks allows arbitrary file write
Noroxi assessment
Priority: Monitor (action score 29/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.52% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: azl3 ant 1.10.14-1 on Azure Linux 3.0 1.10.18-1.
Low priority for now. Upgrade to azl3 ant 1.10.14-1 on Azure Linux 3.0 1.10.18-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Sep 7, 2026
- Updated
- Sep 9, 2026
- EPSS
- 0.5% · 44th percentile
- CWE
- CWE-23
Report tools
Action score
29
Monitor
Low priority for now.
- CVSS
- 29 / 40 · 7.4 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.5%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| apache | ant | cpe:2.3:a:apache:ant |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache antbefore 1.10.18
Versions reported by the vendor
Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.
Apache Software Foundation Apache Ant
- 1.2 and later · before 1.10.18affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.24 | apache-ant | before 1.10.18-r0 | 1.10.18-r0 |
| Debian:12 | ant | from 0 | — |
| Debian:14 | ant | before 1.10.18-1 | 1.10.18-1 |
| openSUSE:Leap 16.0 | ant | before 1.10.18-160000.1.1 | 1.10.18-160000.1.1 |
| openSUSE:Leap 16.0 | ant-antlr | before 1.10.18-160000.1.1 | 1.10.18-160000.1.1 |
| openSUSE:Leap 16.0 | ant-junit | before 1.10.18-160000.1.1 | 1.10.18-160000.1.1 |
| openSUSE:Leap 16.0 | ant-junit5 | before 1.10.18-160000.1.1 | 1.10.18-160000.1.1 |
| openSUSE:Tumbleweed | ant | before 1.10.18-2.1 | 1.10.18-2.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | apache-commons-digester3 | before 3.2-150200.5.3.5 | 3.2-150200.5.3.5 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | json-simple | before 2.3.1-150200.5.3.5 | 2.3.1-150200.5.3.5 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | maven-doxia | before 2.1.0-150200.4.21.15 | 2.1.0-150200.4.21.15 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | maven-doxia-sitetools | before 2.1.0-150200.3.23.17 | 2.1.0-150200.3.23.17 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | plexus-build-api | before 1.2.0-150200.3.10.2 | 1.2.0-150200.3.10.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | plexus-i18n | before 1.2.0-150200.3.10.2 | 1.2.0-150200.3.10.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | plexus-interactivity | before 1.6.0-150200.3.10.2 | 1.6.0-150200.3.10.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | plexus-velocity | before 2.4.0-150200.3.13.2 | 2.4.0-150200.3.13.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | velocity-tools | before 3.2-150200.5.3.10 | 3.2-150200.5.3.10 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | objectweb-asm | before 9.10.1-150200.3.20.3 | 9.10.1-150200.3.20.3 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP7 | ant | before 1.10.18-150200.4.31.3 | 1.10.18-150200.4.31.3 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP7 | ant-antlr | before 1.10.18-150200.4.31.3 | 1.10.18-150200.4.31.3 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP7 | ant-contrib | before 1.0b3-150200.11.17.1 | 1.0b3-150200.11.17.1 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP7 | ant-junit | before 1.10.18-150200.4.31.3 | 1.10.18-150200.4.31.3 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP7 | ant-junit5 | before 1.10.18-150200.4.31.3 | 1.10.18-150200.4.31.3 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP7 | antlr | before 2.7.7-150200.18.10.2 | 2.7.7-150200.18.10.2 |
+30
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2020-11979As mitigation for CVE-2020-1945 Apache Ant 1.10.8 changed the permissions of temporary files it created so that only the current user was al32Monitor
- CVE-2020-1945Apache Ant 1.1 to 1.9.14 and 1.10.0 to 1.10.7 uses the default temporary directory identified by the Java system property java.io.tmpdir for26Monitor
- CVE-2021-36374Apache Ant ZIP, and ZIP based, archive denial of service vulerability23Monitor
Published before and after this one in the same product
- ← EarlierCVE-2021-36373Jul 14, 2021 · Apache Ant TAR archive denial of service vulnerability23Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| azl3 ant 1.10.14-1 on Azure Linux 3.0 | 1.10.18-1 | Microsoft (MSRC) |
| alpine:apache-ant | 1.10.18-r0 · Alpine:v3.24 | Package registry (OSV) |
| debian:ant | 1.10.18-1 · Debian:14 | Package registry (OSV) |
| opensuse:ant | 1.10.18-2.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:ant-antlr | 1.10.18-160000.1.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:ant-junit | 1.10.18-160000.1.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:ant-junit5 | 1.10.18-160000.1.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| suse:ant | 1.10.18-150200.4.31.3 · SUSE:Linux Enterprise Module for Development Tools 15 SP7 | Package registry (OSV) |
| suse:ant-antlr | 1.10.18-150200.4.31.3 · SUSE:Linux Enterprise Module for Development Tools 15 SP7 | Package registry (OSV) |
| suse:ant-contrib | 1.0b3-150200.11.17.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP7 | Package registry (OSV) |
| suse:ant-junit | 1.10.18-150200.4.31.3 · SUSE:Linux Enterprise Module for Development Tools 15 SP7 | Package registry (OSV) |
| suse:ant-junit5 | 1.10.18-150200.4.31.3 · SUSE:Linux Enterprise Module for Development Tools 15 SP7 | Package registry (OSV) |
| suse:antlr | 2.7.7-150200.18.10.2 · SUSE:Linux Enterprise Module for Development Tools 15 SP7 | Package registry (OSV) |
| suse:assertj-core | 3.27.7-150200.5.11.8 · SUSE:Linux Enterprise Module for Development Tools 15 SP7 | Package registry (OSV) |
| suse:bsf | 2.4.0-150200.13.8.2 · SUSE:Linux Enterprise Module for Development Tools 15 SP7 | Package registry (OSV) |
| suse:byte-buddy | 1.18.8-150200.5.13.2 · SUSE:Linux Enterprise Module for Development Tools 15 SP7 | Package registry (OSV) |
| suse:jakarta-activation | 2.1.0-150200.5.7.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP7 | Package registry (OSV) |
| suse:jakarta-mail | 2.1.0-150200.5.7.2 · SUSE:Linux Enterprise Module for Development Tools 15 SP7 | Package registry (OSV) |
| suse:objectweb-asm | 9.10.1-150200.3.20.3 · SUSE:Linux Enterprise Module for Basesystem 15 SP7 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-23 · Relative Path TraversalCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (1 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.