8.1

CVE-2021-22863: github Improper Authorization

CVSS: 8.1v3.1HighModified
Published 03-03-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-22863 is a high (CVSS 8.1) Improper Authorization vulnerability in github. EPSS estimates a 1.00% chance of exploitation in the next 30 days, higher than 62.3% of scored vulnerabilities.

Overall risk
33/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.1/10
010
High · v3.1 (NVD)
EPSS score
1.00%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 03-03-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

An improper access control vulnerability was identified in the GitHub Enterprise Server GraphQL API that allowed authenticated users of the instance to modify the maintainer collaboration permission of a pull request without proper authorization. By exploiting this vulnerability, an attacker would be able to gain access to head branches of pull requests opened on repositories of which they are a maintainer. Forking is disabled by default for organization owned private repositories and would prevent this vulnerability. Additionally, branch protections such as required pull request reviews or status checks would prevent unauthorized commits from being merged without further review or validation. This vulnerability affected all versions of GitHub Enterprise Server since 2.12.22 and was fixed in versions 2.20.24, 2.21.15, 2.22.7 and 3.0.1. This vulnerability was reported via the GitHub Bug Bounty program.

CVSS metrics

2 scores · 1 source · 2 versions

EPSS trend

Probability

1.00%

Chance of exploitation in the next 30 days

Percentile

62%

Versus all other CVEs

30-day change

+0.04 pp

From 0.97% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.00%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Github2 products
  • github≥ 2.12.22, < 2.20.24 | ≥ 2.21.0, < 2.21.15 | ≥ 2.22.0, < 2.22.7 | ≥ 3.0.0, < 3.0.1
  • github enterprise server≥ 2.20, < 2.20.24 | ≥ 2.21, < 2.21.15 | ≥ 2.22, < 2.22.7 | ≥ 3.0, < 3.0.1

1 vendor · 2 products

References

4 links