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

Source: https://junglewise.ai/threats/cve-2025-24397-incorrect-permission-check-in-jenkins-gitlab-plugin-allows  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-01-22  
License: CC BY 4.0 with a link back

CVE-2025-24397 · Severity: low · CVSS 3.1 · Published 2025-01-22

Incorrect permission check in Jenkins GitLab Plugin allows enumerating credentials IDs

Technologies: [org.jenkins-ci.plugins:gitlab-plugin (Maven)](https://junglewise.ai/threats/technologies/org-jenkins-ci-plugins-gitlab-plugin). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2025-24397 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-24397 being exploited in the wild.

**How severe is CVE-2025-24397?** Low severity, with a CVSS score of 3.1, published 22 January 2025.

**Which products and versions are affected?** org.jenkins-ci.plugins:gitlab-plugin (Maven) ECOSYSTEM:introduced=0,fixed=1.9.7.

**Is there a fix for CVE-2025-24397?** Yes. org.jenkins-ci.plugins:gitlab-plugin (Maven): upgrade to 1.9.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-24397?** Check whether you run org.jenkins-ci.plugins:gitlab-plugin (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.jenkins-ci.plugins:gitlab-plugin (Maven): upgrade to 1.9.7 or later

  ```sh
  # set org.jenkins-ci.plugins:gitlab-plugin to 1.9.7 in your pom.xml or build.gradle
  ```


## Affected products

- org.jenkins-ci.plugins:gitlab-plugin (Maven) ECOSYSTEM:introduced=0,fixed=1.9.7

## Identifiers

- CVE-2025-24397
- GHSA-xhgq-h98j-859v

## Related threats

- [Non-constant time webhook token comparison in Jenkins GitLab Plugin](https://junglewise.ai/threats/cve-2022-43411-non-constant-time-webhook-token-comparison-in-jenkins-gitlab)
- [Cross-site Scripting in Jenkins GitLab Plugin](https://junglewise.ai/threats/cve-2022-34777-cross-site-scripting-in-jenkins-gitlab-plugin)
- [Jenkins GitLab Plugin Cross-Site Request Forgery vulnerability](https://junglewise.ai/threats/cve-2019-10300-jenkins-gitlab-plugin-cross-site-request-forgery-vulnerability)
- [Jenkins GitLab Plugin missing permission checks](https://junglewise.ai/threats/cve-2019-10301-jenkins-gitlab-plugin-missing-permission-checks)
- [Missing permission check in Jenkins GitLab Plugin](https://junglewise.ai/threats/cve-2022-30955-missing-permission-check-in-jenkins-gitlab-plugin)
