p PatchFirst

CVE-2026-112740

CVE-2026-112740 · OS command injection in GitHub Enterprise Server allowed command execution as the host git user on peer cluster nodes

CVSS 7.4 · High · EPSS 2.0% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Affected products and versions

  • enterprise server

    Versions
    • ≥ 3.19.0, < 3.19.*: Affected; ≥ 3.19.16: Not affected (semver)
    • ≥ 3.20.0, < 3.20.*: Affected; ≥ 3.20.12: Not affected (semver)
    • ≥ 3.21.0, < 3.21.*: Affected; ≥ 3.21.10: Not affected (semver)
    • ≥ 3.22.0, < 3.22.*: Affected; ≥ 3.22.5: Not affected (semver)

    Update to 3.19.16; Update to 3.20.12; Update to 3.21.10; Update to 3.22.5

Original sources

Check your server →