Incorrect authorization in GitHub Enterprise Server token generation leading to full admin access

Check todayFull system takeover over the network by a logged-in user.
7.2HIGH

CVE-2022-23741

Key Information:

Vendor

Github

CVE ID
CVE ID:
CVE-2022-23741
Vendor
CVE Published:
14 December 2022
Fixed in
Fixed in:
3.3.17, 3.4.12, 3.5.9 +1 more

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Update to a fixed version
GitHub Enterprise Server 3.3 to below 3.3.17 is vulnerable
GitHub Enterprise Server 3.4 to below 3.4.12 is vulnerable
GitHub Enterprise Server 3.5 to below 3.5.9 is vulnerable
GitHub Enterprise Server 3.6 to below 3.6.5 is vulnerable

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

3.3.173.4.123.5.93.6.5
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 "Check today"
  • Its CVSS severity is high (7.2).

What is CVE-2022-23741?

An incorrect authorization vulnerability was identified in GitHub Enterprise Server that allowed a scoped user-to-server token to escalate to full admin/owner privileges. An attacker would require an account with admin access to install a malicious GitHub App. This vulnerability was fixed in versions 3.3.17, 3.4.12, 3.5.9, and 3.6.5. This vulnerability was reported via the GitHub Bug Bounty program.

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:
7.2
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Credit

Vaibhav Singh (@vaib25vicky)
.