CVE-2025-58458 Jenkins Git client Plugin file system information disclosure vulnerability

Medium 4.3 Published Updated

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.

Weakness: CWE-538, CWE-200

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.

PackageAffectedFixed in
org.jenkins-ci.plugins:git-client MavenAll versions6.3.3
org.jenkins-ci.plugins:git-client MavenAll versions6.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.

Sources

Also known as GHSA-g2pq-9jr7-w6gv.

Is CVE-2025-58458 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free