CVE-2022-36882: Lack of authentication mechanism in Jenkins Git Plugin webhook

org.jenkins-ci.plugins:git Updated 02 Oct 2025

Summary

28/07/2022
Yes i
Moderate
6.5

CVE-2022-36882: Lack of authentication mechanism in Jenkins Git Plugin webhook. Affects org.jenkins-ci.plugins:git versions < 4.11.4. Fixed in 4.11.4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Jenkins Git Plugin provides functionality for integrating Git repositories with Jenkins. It includes a webhook endpoint at /git/notifyCommit that allows Jenkins to be notified of changes to an SCM repository. This endpoint is used to schedule polling for jobs configured with the specified repository. However, versions of Git Plugin up to 4.11.3 do not require authentication for this webhook endpoint, allowing unauthorized access and potential CSRF attacks.

Vulnerability Detail

The lack of authentication mechanism in the Jenkins Git Plugin webhook endpoint allows attackers to exploit this vulnerability by sending GET requests to the /git/notifyCommit endpoint without authentication. This opens up the possibility of cross-site request forgery (CSRF) attacks, where an attacker can trick a user into performing unintended actions on their behalf. This vulnerability has a CVSS score of 6.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N).

How To Fix

Latest published version: 5.11.0 as of 23 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

4.11.4

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading to the latest version is not immediately feasible, a temporary workaround is to disable the /git/notifyCommit endpoint or restrict access to it. This can be done by configuring network or firewall rules to block access to the endpoint. However, this workaround should only be considered as a temporary measure, and upgrading to the latest version is strongly recommended.

Conclusion

The lack of authentication in the Jenkins Git Plugin webhook endpoint poses a security risk, allowing unauthorized access and potential CSRF attacks. It is crucial to upgrade to Git Plugin version 4.11.4 or later and configure the webhook token for authentication. Disabling or restricting access to the endpoint can be used as a temporary workaround, but upgrading is strongly recommended. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:git →

Share this vulnerability

FAQ

This vulnerability allows attackers to perform CSRF attacks and potentially execute unauthorized actions on behalf of users. It can lead to unauthorized access, data manipulation, and other malicious activities.

You can use the Vulert Playground at Vulert Scanner to check if your Jenkins instance is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the pom.xml file for analysis.

While there is no known public exploit for this vulnerability at the time of this report, it is important to address it promptly to prevent potential attacks.

A temporary workaround is to disable or restrict access to the /git/notifyCommit endpoint. However, this should only be considered as a temporary measure, and upgrading to the latest version is the recommended long-term solution.

You can refer to the official Jenkins Git Plugin documentation at https://github.com/jenkinsci/git-plugin/#push-notification-from-repository for more information about this vulnerability and how to address it.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:git.

How To Fix

Latest published version: 5.11.0 as of 23 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

4.11.4

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback