CVE-2025-58458: Git client Jenkins Git Client Plugin File Vulnerability
MODERATECVE-2025-58458 is a MODERATE (CVSS 4.3) jenkins git client plugin file vulnerability (CWE-538: Insertion of Sensitive Information into Externally-Accessible File or Directory) affecting Git client libraries in the Maven ecosystem. The issue involves jenkins git client plugin file system information disclosure vulnerability. Remediation is available by upgrading affected packages to version 6.3.3.
CVE-2025-58458 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2025-58458
To remediate this vulnerability, upgrade all affected Git client 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.jenkins-ci.plugins</groupId>
<artifactId>git-client</artifactId>
<version>6.3.3</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.jenkins-ci.plugins
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-58458, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.jenkins-ci.plugins
Analyze the terminal output to locate any version of Git client in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.3.3), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.jenkins-ci.plugins 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-538: Insertion of Sensitive Information into Externally-Accessible File or Directory, where the product places sensitive information into files or directories that are accessible to actors who are allowed to have access to the files, but not to the sensitive information. In Git client, 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-58458 Affected Git client Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.jenkins-ci.plugins:git-client
|
Maven |
< 6.3.3
|
6.3.3
|
References
Frequently Asked Questions
What is CVE-2025-58458?
Which Git client versions are affected?
What version fixes CVE-2025-58458?
Is git-client affected?
What is the CVSS score of CVE-2025-58458?
What CWE is associated with CVE-2025-58458?
How can I check Maven dependencies for CVE-2025-58458?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g2pq-9jr7-w6gv",
"modified" : "2025-11-05T20:42:59Z",
"published" : "2025-09-03T15:30:34Z",
"aliases" : [ "CVE-2025-58458" ],
"summary" : "Jenkins Git client Plugin file system information disclosure vulnerability",
"details" : "In Jenkins Git client Plugin 6.3.2 and earlier, Git URL field form validation responses differ based on whether the specified file path exists on the controller when specifying `amazon-s3` protocol for use with JGit, allowing attackers with Overall/Read permission to check for the existence of an attacker-specified file path on the Jenkins controller file system.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jenkins-ci.plugins:git-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.3.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-58458"
}, {
"type" : "WEB",
"url" : "https://github.com/jenkinsci/git-client-plugin/commit/20090a86c3ebc72e5283c882de73e3a4459137bb"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jenkinsci/git-client-plugin"
}, {
"type" : "WEB",
"url" : "https://www.jenkins.io/security/advisory/2025-09-03/#SECURITY-3590"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/09/03/4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-538" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-09-03T22:22:25Z",
"nvd_published_at" : "2025-09-03T15:15:39Z"
}
}