Code Injection Vulnerability in GitHub Enterprise Server Allows Arbitrary Code Execution via Message Handling
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
A Code Injection vulnerability was identified in GitHub Enterprise Server that allowed attackers to inject malicious code into the query selector via the identity property in the message handling function. This enabled the exfiltration of sensitive data by manipulating the DOM, including authentication tokens. To execute the attack, the victim must be logged into GitHub and interact with the attacker controlled malicious webpage containing the hidden iframe. This vulnerability occurs due to an improper sequence of validation, where the origin check occurs after accepting the user-controlled identity property. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.11.16, 3.12.10, 3.13.5, 3.14.2, and 3.15.0. This vulnerability was reported via the GitHub Bug Bounty program.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| GitHub | Enterprise Server | 3.11.0 – 3.11.16; 3.12.0 – 3.12.10; 3.13.0 – 3.13.5; 3.14.0 – 3.14.2; 3.15.0 – 3.15.1 | — | No fix listed | CNA |
- Enterprise Server VendorGitHub Affected 3.11.0 – 3.11.16; 3.12.0 – 3.12.10; 3.13.0 – 3.13.5; 3.14.0 – 3.14.2; 3.15.0 – 3.15.1 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* | before 3.11.6; 3.12.0 to before 3.12.10; 3.13.0 to before 3.13.5; 3.14.0 to before 3.14.2 | Vulnerable | GitHub |
- cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* Versions before 3.11.6; 3.12.0 to before 3.12.10; 3.13.0 to before 3.13.5; 3.14.0 to before 3.14.2 Vulnerable ·GitHub
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-10001
- 2026-10-03 Alias added: GHSA-998c-6m77-6859
References
Other 5
- https://docs.github.com/en/[email protected]/admin/release-notes#3.11.17
- https://docs.github.com/en/[email protected]/admin/release-notes#3.12.11
- https://docs.github.com/en/[email protected]/admin/release-notes#3.13.6
- https://docs.github.com/en/[email protected]/admin/release-notes#3.14.3
- https://docs.github.com/en/[email protected]/admin/release-notes#3.15.0
More GitHub Enterprise Server vulnerabilities
- TI-2024-04632 An authentication bypass vulnerability was present in the GitHub Enterprise Server (GHES)… CVSS 4.0CRITICAL 10.0
- TI-2024-00181 Unsafe Reflection in Github Enterprise Server leading to Command Injection CVSS 3.1CRITICAL 9.8
- TI-2024-00466 Privilege Escalation by Code Injection in the Management Console in GitHub Enterprise Server CVSS 3.1HIGH 8.8
- TI-2026-03340 Remote code execution via git push option injection in GitHub Enterprise Server CVSS 4.0HIGH 8.7
- TI-2024-08804 Improper signature verification in GitHub Enterprise Server CVSS 4.0CRITICAL 9.5
- TI-2026-08177 Server-side request forgery in GitHub Enterprise Server CVSS 4.0CRITICAL 9.2
Sources
- CVE-2024-10001 · CVE Program
- CVE-2024-10001 · NVD
- FIRST EPSS
- GHSA-998c-6m77-6859 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences