Organization privilege escalation via GraphQL authorization bypass
Published Jan 17, 2023 · Updated Apr 8, 2025
Incorrect authorization in GitHub Enterprise Server before 3.7.1 allows remote authenticated users to access organization resources. The GraphQL API accepts a GitHub App's scoped user-to-server token without enforcing the app's granted permissions for non-repository organization resources. An app must already be installed on the organization; it can then access and modify users and organization-wide projects, but not repository-bound resources.
Summary
What happened
Incorrect authorization in GitHub Enterprise Server before 3.7.1 allows remote authenticated users to access organization resources. The GraphQL API accepts a GitHub App's scoped user-to-server token without enforcing the app's granted permissions for non-repository organization resources. An app must already be installed on the organization; it can then access and modify users and organization-wide projects, but not repository-bound resources.
The record
- CVE
- CVE-2022-23739
- Published
- Jan 17, 2023
- Updated
- Apr 8, 2025
- Vendor
- Product
- GitHub Enterprise Server
- Classifications
- CWE-863, T1098
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 17, 2023CVE publishedPublication date reported by the CVE source.
- Apr 8, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.3 <3.3.16
- Affected versionversion=3.4 <3.4.11
- Affected versionversion=3.5 <3.5.8
- Affected versionversion=3.6 <3.6.4
- Affected versionversion=3.7 <3.7.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo