Skip to main content
Network Thinking Solutions Logo

CVE-2021-22863

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…

All CVEs
CVE-2021-22863Published 3/3/2021

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…

Vendor advisory
CVSS8.1High

Overview

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.

Published
3/3/2021
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
github
github
≥ 2.12.22, < 2.20.24

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
github
github
≥ 2.21.0, < 2.21.15

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
github
github
≥ 2.22.0, < 2.22.7

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
github
github
≥ 3.0.0, < 3.0.1

Verify advisory

Source
GitHub Enterprise Server
GitHub
≥ 2.20, < 2.20.24

Verify advisory

Source
GitHub Enterprise Server
GitHub
≥ 2.21, < 2.21.15

Verify advisory

Source
GitHub Enterprise Server
GitHub
≥ 2.22, < 2.22.7

Verify advisory

Source
GitHub Enterprise Server
GitHub
≥ 3.0, < 3.0.1

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.