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.
Published: 2026-09-01
Score: 7.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A time‑of‑check time‑of‑use race condition in GitHub Enterprise Server allows an attacker to execute arbitrary code on the server. The flaw requires the attacker to be an authenticated user with write access to a repository and to precisely time concurrent upload requests. If exploited, the attacker can gain full control of the affected system, compromising confidentiality, integrity, and availability of all repositories and services running on the instance.

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, 3.21.5, and 3.22.0.

Risk and Exploitability

The vulnerability scores a CVSS of 7.7, indicating a high likelihood of serious impact. The EPSS score is not available, so the current probability of exploitation is unknown, but the issue is not listed in CISA KEV catalogs. Based on the description, the attack vector is inferred to be an authenticated internal attacker who can write to a repository, requiring precise timing of file‑upload operations. 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 1, 2026 at 23:23 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, 3.21.5, or 3.22.0 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 1, 2026 at 23:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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-01T21:55:04.441Z

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

Link: CVE-2026-19118

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-19118

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-01T23:30:05Z

Weaknesses
  • CWE-367

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