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.
Published: 2026-09-01
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Apply Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Tue, 08 Sep 2026 13:15:00 +0000

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


Wed, 02 Sep 2026 10:45:00 +0000

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


Tue, 01 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Github
Github enterprise Server
Vendors & Products Github
Github enterprise Server

Tue, 01 Sep 2026 22:00:00 +0000

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


Subscriptions

Github Enterprise Server
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_P

Published:

Updated: 2026-09-02T14:11:10.293Z

Reserved: 2026-08-06T14:46:19.378Z

Link: CVE-2026-19118

cve-icon Vulnrichment

Updated: 2026-09-02T13:09:46.653Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-01T22:17:11.010

Modified: 2026-09-08T13:08:54.503

Link: CVE-2026-19118

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T13:30:04Z

Weaknesses
  • CWE-367

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