Read the docs
TI-2021-05727 Aliases CVE-2021-22866GHSA-2p62-w27q-9g83

UI misrepresentation of granted permissions in GitHub Enterprise Server leading to unauthorized access to user resources

Priority MEDIUM 40CWE-451Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Spoofing
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-451.

Summary

A UI misrepresentation vulnerability was identified in GitHub Enterprise Server that allowed more permissions to be granted during a GitHub App's user-authorization web flow than was displayed to the user during approval. To exploit this vulnerability, an attacker would need to create a GitHub App on the instance and have a user authorize the application through the web authentication flow. All permissions being granted would properly be shown during the first authorization, but in certain circumstances, if the user revisits the authorization flow after the GitHub App has configured additional user-level permissions, those additional permissions may not be shown, leading to more permissions being granted than the user potentially intended. This vulnerability affected GitHub Enterprise Server 3.0.x prior to 3.0.7 and 2.22.x prior to 2.22.13. It was fixed in versions 3.0.7 and 2.22.13. This vulnerability was reported via the GitHub Bug Bounty program.

Why it matters now

EPSS 0.01045 64th percentileScored 2026-11-07
Fix Fixed GitHub Enterprise Server (GitHub): 3.0.7, 2.22.13

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
GitHubGitHub Enterprise Server3.0 to before 3.0.7; 2.22 to before 2.22.133.0.7, 2.22.13Patch availableCNA
  • GitHub Enterprise Server VendorGitHub Affected 3.0 to before 3.0.7; 2.22 to before 2.22.13 Fixed in 3.0.7, 2.22.13 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*2.20.0 to before 2.22.13; 3.0.0 to before 3.0.7VulnerableGitHub
  • cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* Versions 2.20.0 to before 2.22.13; 3.0.0 to before 3.0.7 Vulnerable ·GitHub

Remediation

  • Fix · CNA GitHub Enterprise Server (GitHub) Fixed in 3.0.7, 2.22.13

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-22866
  2. 2026-10-03 Alias added: GHSA-2p62-w27q-9g83

References

  • TI-2024-04632 An authentication bypass vulnerability was present in the GitHub Enterprise Server (GHES)… CVSS 4.0CRITICAL 10.0
  • TI-2024-00181 Unsafe Reflection in Github Enterprise Server leading to Command Injection CVSS 3.1CRITICAL 9.8
  • TI-2024-00466 Privilege Escalation by Code Injection in the Management Console in GitHub Enterprise Server CVSS 3.1HIGH 8.8
  • TI-2026-03340 Remote code execution via git push option injection in GitHub Enterprise Server CVSS 4.0HIGH 8.7
  • TI-2024-08804 Improper signature verification in GitHub Enterprise Server CVSS 4.0CRITICAL 9.5
  • TI-2026-08177 Server-side request forgery in GitHub Enterprise Server CVSS 4.0CRITICAL 9.2
See all 125 →

Sources