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

Patch this weekFull system takeover over the network, no login needed.
9.8CRITICAL

CVE-2022-23739

Key Information:

Vendor

Github

CVE ID
CVE ID:
CVE-2022-23739
Vendor
CVE Published:
17 January 2023
Fixed in
Fixed in:
3.3.16, 3.4.11, 3.5.8 +2 more

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Update to a fixed version
GitHub Enterprise Server 3.3 to below 3.3.16 is vulnerable
GitHub Enterprise Server 3.4 to below 3.4.11 is vulnerable
GitHub Enterprise Server 3.5 to below 3.5.8 is vulnerable
GitHub Enterprise Server 3.6 to below 3.6.4 is vulnerable
GitHub Enterprise Server 3.7 to below 3.7.1 is vulnerable

Install the GitHub Enterprise Server release that fixes your version line, or later:

3.3.163.4.113.5.83.6.43.7.1
Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach GitHub Enterprise Server. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Patch this week"
  • It can be exploited remotely without credentials.
  • Its CVSS severity is critical (9.8).

What is CVE-2022-23739?

An incorrect authorization vulnerability was discovered in GitHub Enterprise Server that enables privilege escalation through GraphQL API requests made by GitHub Apps. This issue allows an installed app in an organization to access and alter various organization-level resources independently of the provided permissions. Notably, resources tied to repositories—like repository contents, specific projects, issues, and pull requests—remained unaffected. All versions prior to 3.7.1 are susceptible to this vulnerability, which has been addressed in versions 3.3.16, 3.4.11, 3.5.8, 3.6.4, and 3.7.1 as part of GitHub's commitment to security.

References

Improper Neutralization Vulnerability in GitHub Enterprise Server

CVE-2026-4821
GithubEnterprise Server8.1HIGH

Remote Code Execution Vulnerability in GitHub Enterprise Server

CVE-2026-3854
GithubEnterprise Server🔥😄👾8.7HIGH

Cryptographic Signature Spoofing Vulnerability in GitHub Enterprise Server

CVE-2025-23369
GithubEnterprise Server😄👾7.6HIGH
View more Github vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Credit

ahacker1
.