CVE-2025-58458 Jenkins Git client Plugin file system information disclosure vulnerability
Attackers with read permissions can determine if specific file paths exist on the Jenkins controller via Git URL validation responses.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-58458?
CVE-2025-58458 is a medium-severity vulnerability in Jenkins Git client Plugin, published on 3 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
In Jenkins Git client Plugin 6.3.2 and earlier, except 6.1.4 and 6.2.1, 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.
Which versions are affected by CVE-2025-58458?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:git-client. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:git-client Maven | All versions | 6.3.3 |
org.jenkins-ci.plugins:git-client Maven | All versions | 6.3.3 |
Products include Jenkins Git Client.
How do I fix CVE-2025-58458?
Upgrade org.jenkins-ci.plugins:git-client to 6.3.3 or later.
Is CVE-2025-58458 being exploited?
There is no known exploitation of CVE-2025-58458 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Git client Plugin
- CVE-2019-10392 Improper Neutralization of Special Elements used in an OS Command in Jenkins Git Client Plugin
- CVE-2022-36881 Jenkins Git client plugin 3.11.0 does not perform SSH host key verification
- CVE-2026-57282 Jenkins Git client Plugin has an OS command injection vulnerability on agents
- CVE-2025-67640 Jenkins Git client Plugin has an OS command injection vulnerability on agents in Git client Plugin
- CVE-2017-1000242 Insecure temporary file usage in Jenkins Git Client Plugin
Sources
Also known as GHSA-g2pq-9jr7-w6gv.