Medium severity · published Mar 7, 2023
CVE-2022-46257
Information disclosure in GitHub Enterprise Server leading to unauthorized viewing of private repository names
4.3
CVSS
0.6%
EPSS
No
On KEV
Description
An information disclosure vulnerability was identified in GitHub Enterprise Server that allowed private repositories to be added to a GitHub Actions runner group via the API by a user who did not have access to those repositories, resulting in the repository names being shown in the UI. To exploit this vulnerability, an attacker would need access to the GHES instance, permissions to modify GitHub Actions runner groups, and successfully guess the obfuscated ID of private repositories. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.7 and was fixed in versions 3.3.17, 3.4.12, 3.5.9, 3.6.5. This vulnerability was reported via the GitHub Bug Bounty program.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 47% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GE
GitHub Enterprise Server · GitHub
3.3 before 3.3.17; 3.4 before 3.4.12; 3.5 before 3.5.9; 3.6 before 3.6.5 · source: vendor
ES
Enterprise Server · Github
3.3.0 before 3.3.17; 3.4.0 before 3.4.12; 3.5.0 before 3.5.9; 3.6.0 before 3.6.5 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-46257
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-46257
docs.github.com
https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.17
docs.github.com
https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.12
docs.github.com
https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.9
docs.github.com
https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.5
More from GitHub Enterprise Server
9.8
CVE-2024-6800
An XML signature wrapping vulnerability was present in GitHub Enterprise Server (GHES) when using SAML authentication with specific identity providers utilizing publicly exposed…
9.8
CVE-2022-23739
Incorrect authorization check in GitHub Enterprise Server leading to escalation of privileges in GraphQL API requests from GitHub Apps using scoped user-to-server tokens
8.8
CVE-2022-23740
Improper Neutralization of Argument Delimiters in a Command in GitHub Enterprise Server leading to Remote Code Execution
8.8
CVE-2022-23734
Deserialization of Untrusted Data vulnerability in GitHub Enterprise Server leading to Remote Code Execution
7.6
CVE-2025-3246
Markdown math block sanitization bypass allows privilege escalation and unauthorized workflow triggers
