Medium

Jenkins GitHub Branch Source Plugin vulnerable to Cross-Site Request Forgery

  • Disclosed: 17.05.2022
  • Updated: 11.10.2026 11:22

GitHub Branch Source Plugin connects to a user-specified GitHub API URL (e.g. GitHub Enterprise) as part of form validation and completion (e.g. to verify Scan Credentials are correct). This functionality improperly checked permissions, allowing any user with Overall/Read access to Jenkins to connect to any web server and send credentials with a known ID, thereby possibly capturing them. Additionally, this functionality did not require POST requests be used, thereby allowing the above to be performed without direct access to Jenkins via Cross-Site Request Forgery. 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 6.3/10
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weakness (CWE)
CWE-352
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-w66r-f5gg-gqwm - 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. Jenkins GitHub Branch Source Plugin vulnerable to Cross-Site Request Forgery this entry
    Medium · 6.3 CVE-2017-1000091 < 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.