Medium

Lack of authentication mechanism in Jenkins Git Plugin webhook

  • Disclosed: 28.07.2022
  • Updated: 11.10.2026 11:22

Git Plugin provides a webhook endpoint at /git/notifyCommit that can be used to notify Jenkins of changes to an SCM repository. For its most basic functionality, this endpoint receives a repository URL, and Jenkins will schedule polling for all jobs configured with the specified repository. In Git Plugin 4.11.3 and earlier, this endpoint can be accessed with GET requests and without authentication. In addition to this basic functionality, the endpoint also accept a sha1 parameter specifying a commit ID. If this parameter is specified, jobs configured with the specified repo will be triggered immediately, and the build will check out the specified commit. Additionally, the output of the webhook endpoint will provide information about which jobs were triggered or scheduled for polling, including jobs the user has no permission to access. This allows attackers with knowledge of Git repository URLs to trigger builds of jobs using a specified Git repository and to cause them to check out an attacker-specified commit, and to obtain information about the existence of jobs configured with this Git repository. Git Plugin 4.11.4 requires a token parameter which will act as an authentication for the webhook endpoint. While GET requests remain allowed, attackers would need to be able to provide a webhook token. For more information see the plugin documentation.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.jenkins-ci.plugins:git < 4.11.4 4.11.4

References

CVSS score 6.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness (CWE)
CWE-862
Platform
Java / Kotlin (Maven)
Package
org.jenkins-ci.plugins:git
Disclosed
28.07.2022
Updated
11.10.2026 11:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-v878-67xw-grw2 - CC BY 4.0

Vulnerability history: org.jenkins-ci.plugins:git

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (12) in the archive
Total entries
12
First → latest
05.2022 08.2022
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 9
  • Low 1

Disclosures per year

  1. 2022: 12
  2. 2023: 0
  3. 2024: 0
  4. 2025: 0
  5. 2026: 0
Severity:
  1. Lack of authentication mechanism in Jenkins Git Plugin webhook this entry
    Medium · 6.5 CVE-2022-36883 < 4.11.4 4.11.4
  2. High · 7.5 CVE-2022-30947 < 4.11.2 4.11.2
  3. High · 7.5 CVE-2017-1000092 < 3.3.2 3.3.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.