CVE-2026-19118

Race condition vulnerability was identified in GitHub Enterprise Server that allowed remote code execution

Published Sep 1, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
Description
A time-of-check time-of-use race condition vulnerability was identified in GitHub Enterprise Server that allowed remote code execution. Exploitation required an authenticated user with write access to a repository and precise timing of concurrent upload requests. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.22 and was fixed in versions 3.17.20, 3.18.14, 3.19.11, 3.20.7, and 3.21.5. This vulnerability was reported via the GitHub Bug Bounty program.

Analysis

AI-generated

Technical impact

A time‑of‑check time‑of‑use race condition flaw in GitHub Enterprise Server allows an authenticated user with write access to a repository to launch concurrently timed upload operations that can trigger arbitrary code execution on the server. The flaw exploits a race condition (CWE‑367) and grants an attacker full control of the instance, thereby compromising confidentiality, integrity, and availability of all repositories and associated services.

Affected Systems

GitHub Enterprise Server versions earlier than 3.22 are affected. The vulnerability was resolved in releases 3.17.20, 3.18.14, 3.19.11, 3.20.7, and 3.21.5.

Risk and Exploitability

The vulnerability scores a CVSS of 7.7, indicating a high likelihood of serious impact. The EPSS score is < 1%, indicating a low probability of exploitation, and it’s not listed in CISA KEV catalogs. Based on the description, the attack vector is inferred to be an authenticated internal attacker with write access to a repository who can precisely time concurrent upload requests. No known public exploits are documented, but the high severity and required preconditions suggest an internal threat model should be considered.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest supported version of GitHub Enterprise Server (v3.22 or newer).
  • Install the specific patch releases 3.17.20, 3.18.14, 3.19.11, 3.20.7, or 3.21.5 depending on your current version to eliminate the race condition.
  • Restrict commit and upload permissions for users who do not need write access to repositories, applying the principle of least privilege until a patch is applied.

Generated by OpenCVE AI on September 3, 2026 at 13:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Description A time-of-check time-of-use race condition vulnerability was identified in GitHub Enterprise Server that allowed remote code execution. Exploitation required an authenticated user with write access to a repository and precise timing of concurrent upload requests. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.22 and was fixed in versions 3.17.20, 3.18.14, 3.19.11, 3.20.7, 3.21.5, and 3.22.0. This vulnerability was reported via the GitHub Bug Bounty program. A time-of-check time-of-use race condition vulnerability was identified in GitHub Enterprise Server that allowed remote code execution. Exploitation required an authenticated user with write access to a repository and precise timing of concurrent upload requests. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.22 and was fixed in versions 3.17.20, 3.18.14, 3.19.11, 3.20.7, and 3.21.5. This vulnerability was reported via the GitHub Bug Bounty program.
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Github
Github enterprise Server
Vendors & Products Github
Github enterprise Server
Type Values Removed Values Added
Description A time-of-check time-of-use race condition vulnerability was identified in GitHub Enterprise Server that allowed remote code execution. Exploitation required an authenticated user with write access to a repository and precise timing of concurrent upload requests. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.22 and was fixed in versions 3.17.20, 3.18.14, 3.19.11, 3.20.7, 3.21.5, and 3.22.0. This vulnerability was reported via the GitHub Bug Bounty program.
Title Race condition vulnerability was identified in GitHub Enterprise Server that allowed remote code execution
Weaknesses CWE-367
References
Metrics cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

Sources

Status
PUBLISHED
Assigner
GitHub_P
Published
Updated
Sep 2, 2026, 2:11 PM
Reserved
Aug 6, 2026, 2:46 PM
Status
Analyzed
Published
Sep 1, 2026, 10:17 PM
Modified
Sep 8, 2026, 1:08 PM