Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-5816

MEDIUM 6.9EPSS 58%

Improper authorization allows persistent access in GitHub Enterprise Server

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running GitHub Enterprise Server >= 3.10.0, <= 3.10.13; >= 3.11.0, <= 3.11.11; >= 3.12.0, <= 3.12.5; >= 3.13, <= 3.13.0; >= 3.9.0, <= 3.9.16

Vulnerability facts

Affected
GitHub Enterprise Server >= 3.10.0, <= 3.10.13; >= 3.11.0, <= 3.11.11; >= 3.12.0, <= 3.12.5; >= 3.13, <= 3.13.0; >= 3.9.0, <= 3.9.16
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
6.9 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:H/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: Active
  • Confidentiality impact: None
  • Integrity impact: High
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: High
  • Availability impact on other systems: None
EPSS
0.91% chance of exploitation in 30 days (percentile 58, 2026-11-26)
CWE
CWE-863
Published
Modified

Description

An Incorrect Authorization vulnerability was identified in GitHub Enterprise Server that allowed a suspended GitHub App to retain access to the repository via a scoped user access token. This was only exploitable in public repositories while private repositories were not impacted. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.14 and was fixed in versions 3.9.17, 3.10.14, 3.11.12, 3.12.6, 3.13.1. This vulnerability was reported via the GitHub Bug Bounty program.

Affected and fixed versions

Package / productAffectedFixedSource
GitHub Enterprise Server>= 3.10.0, <= 3.10.13; >= 3.11.0, <= 3.11.11; >= 3.12.0, <= 3.12.5; >= 3.13, <= 3.13.0; >= 3.9.0, <= 3.9.16—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-5816. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-5816.md
Affected: GitHub Enterprise Server >= 3.10.0, <= 3.10.13; >= 3.11.0, <= 3.11.11; >= 3.12.0, <= 3.12.5; >= 3.13, <= 3.13.0; >= 3.9.0, <= 3.9.16
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for GitHub Enterprise Server: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-5816 being exploited?

There is no confirmed exploitation: CVE-2024-5816 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.91% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-5816?

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2024-5816?

GitHub Enterprise Server >= 3.10.0, <= 3.10.13; >= 3.11.0, <= 3.11.11; >= 3.12.0, <= 3.12.5; >= 3.13, <= 3.13.0; >= 3.9.0, <= 3.9.16.

Is there a fix for CVE-2024-5816?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-5816?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors