File Overwrite Vulnerability in Apache Ant Affects Remote File Downloading
Key Information:
- Vendor
Apache
- Status
- CVE ID
- CVE ID:
- CVE-2026-78254
- Vendor
- CVE Published:
- 7 September 2026
- Fixed in
- Fixed in:
- 1.10.18
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Update to a fixed version
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Apache Ant. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- It can be exploited remotely without credentials.
- Its CVSS severity is high (7.4).
What is CVE-2026-78254?
Apache Ant has a security vulnerability in its FTP and SCP tasks that allows malicious servers to provide relative paths, enabling them to write files outside of the designated target directory. This can lead to unauthorized file overwrites under the permissions of the user executing Ant. Exploitation requires either a malicious server or a man-in-the-middle attack. To mitigate risks, users should ensure that server identity checks are not bypassed, and those using FTP are encouraged to switch to FTPS. Upgrading to Apache Ant version 1.10.18 or higher is recommended to protect against this vulnerability.
References
More Apache Vulnerabilities
Key Exchange Vulnerability in Apache Tomcat
Improper Exception Management in Apache Tomcat Affects Multiple Versions
Deserialization Vulnerability in Apache Roller Affects Multiple Versions
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction