# 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 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.33%, higher than 71% of CVEs (2026-12-01)
- Published: 2023-01-17T00:00:00.000Z
- Modified: 2026-06-17T04:30:43.980Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_P

## 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.

(As written by CVE List.)

## Affected

- GitHub GitHub Enterprise Server: from 3.3 before 3.3.16; from 3.4 before 3.4.11; from 3.5 before 3.5.8; from 3.6 before 3.6.4; from 3.7 before 3.7.1
- 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

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <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>

## Sources

- CVE List: [CVE-2022-23739](https://www.cve.org/CVERecord?id=CVE-2022-23739), CVE Terms of Use, modified 2025-04-08
- NVD: [CVE-2022-23739](https://nvd.nist.gov/vuln/detail/CVE-2022-23739), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23739 · Whole record: https://cve.day/CVE-2022-23739.json · Rebuilt by cve.day 2026-11-25T22:58:18.227Z
