CVE-2026-135458: Path traversal in Git LFS object verification allowed server-side request forgery in GitHub Enterprise Server
A path traversal vulnerability was identified in GitHub Enterprise Server that allowed a normal authenticated user to cause Git LFS object verification to retrieve attacker-controlled link metadata and send internally authenticated requests to attacker-selected services, potentially leading to root code execution on the GitHub Enterprise Server appliance through a downstream service. Exploitation required network access, attacker-controlled link metadata, a successful verification size check, and a reachable downstream takeover path for code execution; no administrator role or victim interaction was required, and private mode did not prevent the reported exploit. This vulnerability affected all GitHub Enterprise Server versions prior to 3.23 and was fixed in versions 3.22.7, 3.21.12, 3.20.14, and 3.19.18. This vulnerability was reported via the GitHub Bug Bounty program.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
GitHub Enterprise Serverto a version that resolves this vulnerability.Fixed in 3.22.7 - Upgrade
Upgrade
GitHub Enterprise Serverto a version that resolves this vulnerability.Fixed in 3.21.12 - Upgrade
Upgrade
GitHub Enterprise Serverto a version that resolves this vulnerability.Fixed in 3.20.14 - Upgrade
Upgrade
GitHub Enterprise Serverto a version that resolves this vulnerability.Fixed in 3.19.18
Event History
Frequently Asked Questions
Who can exploit this issue, and is private mode protective?
A normal authenticated user with network access can exploit it; no administrator role or victim interaction is required. Private mode did not prevent the reported exploit.
What conditions are required for exploitation to lead to code execution?
The attacker needs attacker-controlled link metadata, must pass the verification size check, and needs a reachable downstream service takeover path. The vulnerability can cause internally authenticated requests to attacker-selected services, with root code execution depending on that downstream path.
Which GitHub Enterprise Server versions should be remediated?
All versions before 3.23 are affected. Fixed releases are 3.22.7, 3.21.12, 3.20.14, and 3.19.18.