Critical Security Flaw in Ant Package: CVE-2025-67030

ant Updated 23 Jul 2026

Summary

23/07/2026
N/A
Yes i
High
8.3

RHSA-2026:41948: Red Hat Security Advisory: javapackages-tools:201801 security update. Affects ant versions < 0:1.10.5-1.module+el8.10.0+23274+27840b45. Fixed in 0:1.10.5-1.module+el8.10.0+23274+27840b45. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Ant package is a Java-based build tool that automates software build processes. It is widely used in Java projects for compiling code, packaging binaries, and managing dependencies. The package is known for its flexibility and extensibility, allowing developers to define build processes using XML configuration files. However, it has been found to be vulnerable to a security flaw that could lead to unauthorized access or code execution.

Vulnerability Detail

The vulnerability identified as CVE-2025-67030 stems from improper input validation in the Ant package. This flaw allows an attacker to craft malicious input that could be executed during the build process, potentially leading to arbitrary code execution. If exploited, this vulnerability could compromise the integrity of the software being built, allowing attackers to inject malicious code or manipulate the build environment. The CVSS score for this vulnerability is 8.3, indicating a high severity level.

How To Fix

Minimum fixed version

0:1.10.5-1.module+el8.10.0+23274+27840b45

This is the first release that contains the fix.

sudo dnf update ant

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users can avoid using the vulnerable features of the Ant package until the update is applied. It is advisable to review build scripts and configurations for any potential misuse of input that could trigger the vulnerability.

Conclusion

The Ant package vulnerability CVE-2025-67030 poses a significant risk to software integrity and security. It is crucial for users to update to the latest patched version to mitigate potential threats. Regular monitoring and security practices should be adopted to safeguard against such vulnerabilities in the future.

See every vulnerability recorded for ant →

Share this vulnerability

FAQ

CVE-2025-67030 is a security vulnerability in the Ant package that allows for arbitrary code execution due to improper input validation.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Failing to fix this vulnerability could lead to unauthorized access, data breaches, or the execution of malicious code within your build environment.

Yes, a patch is available. Users should update to version 0:1.10.5-1.module+el8.10.0+23274+27840b45 or later.

In addition to updating the Ant package, review your build scripts for any insecure practices and consider implementing additional security measures such as input validation.

Related vulnerabilities

Recent vulnerabilities recorded for ant.

How To Fix

Minimum fixed version

0:1.10.5-1.module+el8.10.0+23274+27840b45

This is the first release that contains the fix.

sudo dnf update ant

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback