Medium

Jenkins GitHub Branch Source Plugin allows any user with Overall/Read permission to get list of valid credentials IDs

  • Disclosed: 17.05.2022
  • Updated: 11.10.2026 11:22

GitHub Branch Source provides a list of applicable credential IDs to allow users configuring a job to select the one they'd like to use. This functionality did not check permissions, allowing any user with Overall/Read permission to get a list of valid credentials IDs. Those could be used as part of an attack to capture the credentials using another vulnerability. An enumeration of credentials IDs in this plugin now requires the permission to have Extended Read permission (when that permission is enabled; otherwise Configure permission) to the job in whose context credentials are being accessed. If no job context exists, Overall/Administer permission is required.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.jenkins-ci.plugins:github-branch-source < 2.2.0-alpha-1 2.2.0-alpha-1

References

CVSS score 4.3/10
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness (CWE)
CWE-200
Platform
Java / Kotlin (Maven)
Package
org.jenkins-ci.plugins:github-branch-source
Disclosed
17.05.2022
Updated
11.10.2026 11:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-6jp2-hggx-8j7p - CC BY 4.0

Vulnerability history: org.jenkins-ci.plugins:github-branch-source

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
5
First → latest
05.2022 06.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Medium 5

Disclosures per year

  1. 2022: 3
  2. 2023: 0
  3. 2024: 0
  4. 2025: 0
  5. 2026: 2
  1. Medium · 4.3 CVE-2026-42522 < 1967.1969.v205fd594c821 1967.1969.v205fd594c821
  2. Medium · 6.3 CVE-2017-1000091 < 2.2.0-alpha-1 2.2.0-alpha-1
  3. Jenkins GitHub Branch Source Plugin allows any user with Overall/Read permission to get list of valid credentials IDs this entry
    Medium · 4.3 CVE-2017-1000087 < 2.2.0-alpha-1 2.2.0-alpha-1

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.