What’s Vulnerable › Vulnerabilities
CVE-2022-23738: Incomplete cache verification issue in GitHub Enterprise Server leading to exposure of private repo files
- Severity: medium (CVSS 5.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-11-01 · updated 2026-06-17
- Weakness: CWE-200
Description
An improper cache key vulnerability was identified in GitHub Enterprise Server that allowed an unauthorized actor to access private repository files through a public repository. To exploit this, an actor would need to already be authorized on the GitHub Enterprise Server instance, be able to create a public repository, and have a site administrator visit a specially crafted URL. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.6 and was fixed in versions 3.2.20, 3.3.15, 3.4.10, 3.5.7, 3.6.3. This vulnerability was reported via the GitHub Bug Bounty program.
Affected products
- GitHub Enterprise Server: from 3.2.0 before 3.2.20; from 3.3.0 before 3.3.15; from 3.4.0 before 3.4.10; from 3.5.0 before 3.5.7; from 3.6.0 before 3.6.3 — fixed in 3.2.20, 3.3.15, 3.4.10, 3.5.7, 3.6.3
How to fix
Upgrade to a fixed version: GitHub Enterprise Server 3.2.20, 3.3.15, 3.4.10, 3.5.7. Check the vendor advisory for mitigations.
References
- https://docs.github.com/en/enterprise-server%403.2/admin/release-notes#3.2.20
- https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.15
- https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.10
- https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.7
- https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.3
- https://docs.github.com/en/enterprise-server%403.2/admin/release-notes#3.2.20
- https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.15
- https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.10
- https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.7
- https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.3
Get alerted when CVE-2022-23738 or the next vulnerability affects your stack