Jenkins GitHub Pull Request Builder Plugin allows attacker with local file system access to obtain GitHub credentials
An exposure of sensitive information vulnerability exists in Jenkins GitHub Pull Request Builder Plugin version 1.39.0 and older in GhprbCause.java that allows an attacker with local file system access to obtain GitHub credentials. Since 1.40.0, the plugin no longer stores serialized objects containing the credential on disk. Builds started before the plugin was updated to 1.40.0 will retain the encoded credentials on disk. We strongly recommend revoking old GitHub credentials used in Jenkins. We’re providing a script for use in the Script Console that will attempt to remove old stored credentials from build.xml files.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.jenkins-ci.plugins:ghprb | < 1.40.0 | 1.40.0 |
References
- CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N- Weakness (CWE)
CWE-200- Platform
- Java / Kotlin (Maven)
- Package
org.jenkins-ci.plugins:ghprb- Disclosed
- 14.05.2022
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-hr74-2j5v-ghfv - CC BY 4.0
Vulnerability history: org.jenkins-ci.plugins:ghprb
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.
- Total entries
- 6
- First → latest
- 05.2022 01.2023
- Without a fix
- 3
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 3
- Low 2
Disclosures per year
- 2022: 3
- 2023: 3
- 2024: 0
- 2025: 0
- 2026: 0
-
Jenkins GitHub Pull Request Builder Plugin allows attacker with local file system access to obtain GitHub credentials this entry
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.