Summary
A path traversal vulnerability was identified in Git LFS object verification in GitHub Enterprise Server. A normal authenticated user can cause verification to retrieve attacker-controlled link metadata and send internally authenticated requests to attacker-selected services (SSRF, CWE-918). Via a downstream service, this could potentially lead to root code execution on the appliance.
Per the CVSS 4.0 vector (8.5, high): the attack is network-based, low complexity, requires only a low-privileged account, no administrator role and no user interaction. Success depends on attacker-controlled link metadata, passing a verification size check, and a reachable downstream takeover path. Private mode does not prevent the exploit. Impact is high on integrity of the vulnerable system and on confidentiality, integrity and availability of subsequent systems.
All versions prior to 3.23 are affected; fixed in 3.22.7, 3.21.12, 3.20.14 and 3.19.18. The vulnerability is not listed in the CISA KEV catalog.
Who is affected
Organizations running self-hosted GitHub Enterprise Server instances prior to 3.23 (branches 3.19–3.22) without the listed patches.
What to do
- Upgrade GitHub Enterprise Server to the fixed release for your branch: 3.19.18, 3.20.14, 3.21.12 or 3.22.7 (or later).
- Check the current instance version in the Management Console or site admin and compare it against the release notes in the references.
- Do not rely on private mode as mitigation – per the vendor it does not prevent this exploit.
- Until patched, limit who holds user accounts and monitor unusual Git LFS activity and outbound requests from the appliance to internal services.
Affected products and versions
CVSS vector, explained
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- Regular user
- User interaction
- Not required
- Confidentiality
- None
- Integrity
- High impact
- Availability
- None
Weakness type (CWE)
- CWE-918 Server-Side Request Forgery (SSRF)
References
- docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.18
- docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.14
- docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.12
- docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.7
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.