SecurityContext

CVE-2021-22869: GitHub Enterprise Server - Broken Access Control

  • Cve: CVE-2021-22869
  • Name: GitHub Enterprise Server - Broken Access Control
  • Description: An improper access control vulnerability in GitHub Enterprise Server allowed a workflow job to execute in a self-hosted runner group it should not have had access to. This affects customers using self-hosted runner groups for access control. A repository with access to one enterprise runner group could access all of the enterprise runner groups within the organization because of improper authentication checks during the request. This could cause code to be run unintentionally by the incorrect runner group. This vulnerability affected GitHub Enterprise Server versions from 3.0.0 to 3.0.15 and 3.1.0 to 3.1.7 and was fixed in 3.0.16 and 3.1.8 releases.
  • Impact: Unauthorized access may lead to execution of code in unintended runner groups, potentially causing security breaches or malicious code execution.
  • Remediation: Update to version 3.0.16 or 3.1.8 or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs access to a repository with permissions to self-hosted runner groups
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01195
  • Epss percentile: 0.68698
  • Assignee: [email protected]
  • Published at: 2021-09-24T18:15:07Z
  • Age in days: 1887
  • Modified at: 2026-06-17T03:37:54Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-22869
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-668Exposure of Resource to Wrong Sphere
CWE-287Improper Authentication

References

UrlSourceTags
https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.16nvd
https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.8nvd

Products

ProductAffectedPlatform boundSourcesUrl
github:enterprise_server>= 3.1.0, < 3.1.8; >= 3.0.0, < 3.0.16nonvd/v1/products/github/enterprise_server

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 1875
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports