CVE-2025-24397 Incorrect permission check in Jenkins GitLab Plugin allows enumerating credentials IDs

Medium 4.3 Published Updated

Attackers with global configure permissions can enumerate GitLab API token and secret text credential IDs in Jenkins.

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-24397?

CVE-2025-24397 is a medium-severity vulnerability in Jenkins GitLab Plugin, published on 22 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An incorrect permission check in Jenkins GitLab Plugin 1.9.6 and earlier allows attackers with global Item/Configure permission (while lacking Item/Configure permission on any particular job) to enumerate credential IDs of GitLab API token and Secret text credentials stored in Jenkins.

Weakness: CWE-863

Which versions are affected by CVE-2025-24397?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:gitlab-plugin. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:gitlab-plugin MavenAll versions1.9.7
org.jenkins-ci.plugins:gitlab-plugin MavenAll versions1.9.7

Products include Jenkins Gitlab.

How do I fix CVE-2025-24397?

Upgrade org.jenkins-ci.plugins:gitlab-plugin to 1.9.7 or later.

Is CVE-2025-24397 being exploited?

There is no known exploitation of CVE-2025-24397 in the wild and no public exploit code.

Sources

Also known as GHSA-xhgq-h98j-859v.

Is CVE-2025-24397 in your software?

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

Check your SBOMs for free