{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-19118",
        "assignerOrgId": "82327ea3-741d-41e4-88f8-2cf9e791e760",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_P",
        "dateReserved": "2026-08-06T14:46:19.378Z",
        "datePublished": "2026-09-01T21:55:04.441Z",
        "dateUpdated": "2026-09-01T21:55:04.441Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "82327ea3-741d-41e4-88f8-2cf9e791e760",
                "shortName": "GitHub_P",
                "dateUpdated": "2026-09-01T21:55:04.441Z"
            },
            "title": "Race condition vulnerability was identified in GitHub Enterprise Server that allowed remote code execution",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-367",
                            "description": "CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-29",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "GitHub",
                    "product": "Enterprise Server",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "3.17.0",
                            "lessThanOrEqual": "3.17.19",
                            "changes": [
                                {
                                    "at": "3.17.20",
                                    "status": "unaffected"
                                }
                            ],
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "3.18.0",
                            "lessThanOrEqual": "3.18.13",
                            "changes": [
                                {
                                    "at": "3.18.14",
                                    "status": "unaffected"
                                }
                            ],
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "3.19.0",
                            "lessThanOrEqual": "3.19.10",
                            "changes": [
                                {
                                    "at": "3.19.11",
                                    "status": "unaffected"
                                }
                            ],
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "3.20.0",
                            "lessThanOrEqual": "3.20.6",
                            "changes": [
                                {
                                    "at": "3.20.7",
                                    "status": "unaffected"
                                }
                            ],
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "3.21.0",
                            "lessThanOrEqual": "3.21.4",
                            "changes": [
                                {
                                    "at": "3.21.5",
                                    "status": "unaffected"
                                }
                            ],
                            "versionType": "semver"
                        },
                        {
                            "status": "unaffected",
                            "version": "3.22.0",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "affected"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "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.<br><br>"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.20",
                    "tags": [
                        "release-notes"
                    ]
                },
                {
                    "url": "https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.14",
                    "tags": [
                        "release-notes"
                    ]
                },
                {
                    "url": "https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.11",
                    "tags": [
                        "release-notes"
                    ]
                },
                {
                    "url": "https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.7",
                    "tags": [
                        "release-notes"
                    ]
                },
                {
                    "url": "https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.5",
                    "tags": [
                        "release-notes"
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "HIGH",
                        "subIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "HIGH",
                        "subAvailabilityImpact": "NONE",
                        "exploitMaturity": "NOT_DEFINED",
                        "Safety": "NOT_DEFINED",
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "valueDensity": "NOT_DEFINED",
                        "vulnerabilityResponseEffort": "NOT_DEFINED",
                        "providerUrgency": "NOT_DEFINED",
                        "version": "4.0",
                        "baseSeverity": "HIGH",
                        "baseScore": 7.7,
                        "vectorString": "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"
                    }
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "ahacker1",
                    "type": "finder"
                },
                {
                    "lang": "en",
                    "value": "Harsh Jaiswal",
                    "type": "finder"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "x_generator": {
                "engine": "Vulnogram 0.2.0"
            }
        }
    }
}