CVE-2018-1000186: Jenkins GitHub Pull Request Builder Plugin credential capture vulnerability

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

Summary

14/05/2022
Yes i
Low
4.2

CVE-2018-1000186: Jenkins GitHub Pull Request Builder Plugin credential capture vulnerability. Affects org.jenkins-ci.plugins:ghprb versions < 1.42.0. Fixed in 1.42.0. 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 GitHub Pull Request Builder Plugin is a plugin for the Jenkins automation server that allows users to trigger builds on GitHub pull requests. It provides integration with GitHub and allows users to configure build triggers based on pull request events. The plugin is widely used in software development workflows to automate the building and testing of code changes submitted through pull requests.

Vulnerability Detail

The Jenkins GitHub Pull Request Builder Plugin versions 1.41.0 and older are vulnerable to a credential capture vulnerability. This vulnerability allows attackers with Overall/Read access to connect to a specified URL using attacker-specified credentials IDs obtained through another method. By exploiting this vulnerability, an attacker can capture credentials stored in Jenkins. Additionally, these form validation methods did not require POST requests, making the plugin vulnerable to Cross-Site Request Forgery (CSRF) attacks. The vulnerability has a CVSS score of 4.2, indicating a moderate severity level.

How To Fix

Latest published version: 1.42.2 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

1.42.0

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

There is no specific workaround mentioned for this vulnerability. The recommended solution is to upgrade to the latest version of the plugin.

Conclusion

The Jenkins GitHub Pull Request Builder Plugin versions 1.41.0 and older are vulnerable to a credential capture vulnerability and CSRF attacks. Upgrading to version 1.42.0 or newer is recommended to fix the vulnerability. It is important to promptly upgrade to the latest version to mitigate the risk of unauthorized access to sensitive information or systems. For further support on vulnerability remediation, you can contact DevNack.com.

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

Share this vulnerability

FAQ

This vulnerability allows attackers with Overall/Read access to capture credentials stored in Jenkins, potentially leading to unauthorized access to sensitive information or systems.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your Jenkins instance is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, and you can check the vulnerability status of your application without any signup or installation.

There are no known public exploits for this vulnerability at the time of this report. However, it is important to promptly upgrade to the latest version to mitigate the risk.

The recommended solution is to upgrade to the latest version of the plugin. Applying temporary measures may not provide sufficient protection against the vulnerability.

Related vulnerabilities

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

How To Fix

Latest published version: 1.42.2 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

1.42.0

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