CVE-2026-112740

high

Description

A command injection vulnerability was identified in GitHub Enterprise Server that allowed an authenticated site administrator to execute arbitrary commands as the host git user on peer Git server nodes outside the pre-receive hook sandbox by supplying a crafted pre-receive environment download URL. Exploitation required a clustered deployment using custom pre-receive hook environments and at least one peer Git server node. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.23 and was fixed in versions 3.22.5, 3.21.10, 3.20.12, and 3.19.16. This vulnerability was reported via the GitHub Bug Bounty program.

References

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-128358

https://docs.github.com/en/[email protected]/admin/release-notes#3.22.5

https://docs.github.com/en/[email protected]/admin/release-notes#3.21.10

https://docs.github.com/en/[email protected]/admin/release-notes#3.20.12

https://docs.github.com/en/[email protected]/admin/release-notes#3.19.16

Details

Source: Mitre, NVD

Published: 2026-11-18

Updated: 2026-11-18

Risk Information

CVSS v2

Base Score: 6.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 9.1

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Severity: Critical

CVSS v4

Base Score: 7.4

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Severity: High

EPSS

EPSS: 0.0118