Vulnerabilities in pkg:maven/org.codehaus.plexus/plexus-utils
PACKAGECVE-2025-67030 is a HIGH path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Plexus utils libraries in the Maven ecosystem. The issue involves plexus-utils has a directory traversal vulnerability in its extractfile method. Remediation is available by upgrading affected packages to version 4.0.3, 3.6.1.
pkg:maven/org.codehaus.plexus/plexus-utils
Vulnerability advisories affecting package pkg:maven/org.codehaus.plexus/plexus-utils. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-6fmv-xxpf-w3cw | CVE-2025-67030 | HIGH | Plexus-Utils has a Directory Traversal vulnerability in its extractFile method |
| GHSA-8vhq-qq4p-grq3 | CVE-2017-1000487 | CRITICAL | OS Command Injection in Plexus-utils |
| GHSA-g6ph-x5wf-g337 | CVE-2022-4244 | HIGH | plexus-codehaus vulnerable to directory traversal |
| GHSA-jcwr-x25h-x5fh | CVE-2022-4245 | MODERATE | codehaus-plexus vulnerable to XML injection |
CVE-2025-67030 at a Glance
How to Fix CVE-2025-67030
To remediate this vulnerability, upgrade all affected Plexus utils dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>4.0.3</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>3.6.1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.codehaus.plexus
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-67030, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.codehaus.plexus
Analyze the terminal output to locate any version of Plexus utils in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.3), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.codehaus.plexus command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Plexus utils, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-67030 Affected Plexus utils Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.codehaus.plexus:plexus-utils
|
Maven |
≥ 4.0.0
< 4.0.3
|
4.0.3
|
|
org.codehaus.plexus:plexus-utils
|
Maven |
< 3.6.1
|
3.6.1
|
References
Frequently Asked Questions
What is CVE-2025-67030?
Which Plexus utils versions are affected?
What version fixes CVE-2025-67030?
Is plexus-utils affected?
What CWE is associated with CVE-2025-67030?
How can I check Maven dependencies for CVE-2025-67030?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6fmv-xxpf-w3cw",
"modified" : "2026-04-08T23:18:35Z",
"published" : "2026-03-25T18:31:55Z",
"aliases" : [ "CVE-2025-67030" ],
"summary" : "Plexus-Utils has a Directory Traversal vulnerability in its extractFile method ",
"details" : "Directory Traversal vulnerability in the extractFile method of org.codehaus.plexus.util.Expand in plexus-utils before 6d780b3378829318ba5c2d29547e0012d5b29642. This allows an attacker to execute arbitrary code",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.codehaus.plexus:plexus-utils"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.0.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.codehaus.plexus:plexus-utils"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.6.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-67030"
}, {
"type" : "WEB",
"url" : "https://github.com/codehaus-plexus/plexus-utils/issues/294"
}, {
"type" : "WEB",
"url" : "https://github.com/codehaus-plexus/plexus-utils/pull/295"
}, {
"type" : "WEB",
"url" : "https://github.com/codehaus-plexus/plexus-utils/pull/296"
}, {
"type" : "WEB",
"url" : "https://github.com/codehaus-plexus/plexus-utils/commit/6d780b3378829318ba5c2d29547e0012d5b29642"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/weaver4VD/3216dac645220f8c9b488362f61241ec"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/codehaus-plexus/plexus-utils"
}, {
"type" : "WEB",
"url" : "https://github.com/codehaus-plexus/plexus-utils/releases/tag/plexus-utils-4.0.3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-27T19:40:25Z",
"nvd_published_at" : "2026-03-25T18:16:25Z"
}
}