What’s Vulnerable › Vulnerabilities
CVE-2022-23739: Incorrect authorization check in GitHub Enterprise Server leading to escalation of privileges in GraphQL API requests from GitHub Apps using scoped user-to-server tokens
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-01-17 · updated 2026-06-17
- Weakness: CWE-863
Description
An incorrect authorization vulnerability was identified in GitHub Enterprise Server, allowing for escalation of privileges in GraphQL API requests from GitHub Apps. This vulnerability allowed an app installed on an organization to gain access to and modify most organization-level resources that are not tied to a repository regardless of granted permissions, such as users and organization-wide projects. Resources associated with repositories were not impacted, such as repository file content, repository-specific projects, issues, or pull requests. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.7.1 and was fixed in versions 3.3.16, 3.4.11, 3.5.8, 3.6.4, 3.7.1. This vulnerability was reported via the GitHub Bug Bounty program.
Affected products
- GitHub Enterprise Server: before 3.3.16; from 3.4.0 before 3.4.11; from 3.5.0 before 3.5.8; from 3.6.0 before 3.6.4; 3.7.0 — fixed in 3.3.16, 3.4.11, 3.5.8, 3.6.4
How to fix
Upgrade to a fixed version: GitHub Enterprise Server 3.3.16, 3.4.11, 3.5.8, 3.6.4. Check the vendor advisory for mitigations.
References
- https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.16
- https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.11
- https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.8
- https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.4
- https://docs.github.com/en/enterprise-server%403.7/admin/release-notes#3.7.1
- https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.16
- https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.11
- https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.8
- https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.4
- https://docs.github.com/en/enterprise-server%403.7/admin/release-notes#3.7.1
Get alerted when CVE-2022-23739 or the next vulnerability affects your stack