CVE-2021-22862: github Improper Authorization
Vulnerability summary
CVE-2021-22862 is a medium (CVSS 6.5) Improper Authorization vulnerability in github. EPSS estimates a 0.84% chance of exploitation in the next 30 days, higher than 57.3% of scored vulnerabilities.
Timeline
- 03-03-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
An improper access control vulnerability was identified in GitHub Enterprise Server that allowed an authenticated user with the ability to fork a repository to disclose Actions secrets for the parent repository of the fork. This vulnerability existed due to a flaw that allowed the base reference of a pull request to be updated to point to an arbitrary SHA or another pull request outside of the fork repository. By establishing this incorrect reference in a PR, the restrictions that limit the Actions secrets sent a workflow from forks could be bypassed. This vulnerability affected GitHub Enterprise Server version 3.0.0, 3.0.0.rc2, and 3.0.0.rc1. This vulnerability was reported via the GitHub Bug Bounty program.
CVSS metrics
2 scores · 1 source · 2 versionsEPSS trend
Probability
0.84%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
+0.03 pp
From 0.81% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Github2 products
- github3.0.0 | 3.0.0:rc1 | 3.0.0:rc2
- github enterprise server≥ 3.0, < 3.0.1
1 vendor · 2 products
References
1 links- docs.github.com/en/enterprise-server%403.0/admin/release-notesX Refsource MISC