An improper access control vulnerability was identified in GitHub Enterprise Server that allowed access tokens generated from a GitHub App's web authentication flow to read private repository metadata via the REST API without having been granted the appropriate permissions. 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. The private repository metadata returned would be limited to repositories owned by the user the token identifies. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.0.4 and was fixed in versions 3.0.4, 2.22.10, 2.21.18. This vulnerability was reported via the GitHub Bug Bounty program.
Conclusion & alert: CVE-2021-22865 is rated Moderate Risk (50.5/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.32%). Core evidence: EPSS rose +1.09% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.23% | 1.32% | +1.09% |
| 2 | 2025-03-30 | 0.44% | 0.23% | -0.21% |
| 3 | 2025-03-29 | — | 0.44% | — |
Full EPSS history (9 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| github | enterprise_server | < 2.21.18 | cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* |
| github | enterprise_server | >= 2.22.0, < 2.22.10 | cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* |
| github | enterprise_server | >= 3.0.0, < 3.0.4 | cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* |