# CVE-2026-5512: Improper authorization vulnerability in GitHub Enterprise Server allowed disclosure of private repository names via mobile upload policy API

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_P) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-04-21T22:12:58.344Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-201
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_P

## Description

An improper authorization vulnerability was identified in GitHub Enterprise Server that allowed an authenticated attacker to determine the names of private repositories by their numeric ID. The mobile upload policy API endpoint did not perform an early authorization check, and validation error messages included the full repository name for repositories the caller did not have access to. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.21 and was fixed in versions 3.20.1, 3.19.5, 3.18.8, 3.17.14, 3.16.17, 3.15.21, and 3.14.26. This vulnerability was reported via the GitHub Bug Bounty program.

(As written by CVE List.)

## Affected

- GitHub Enterprise Server: from 3.14.0 up to 3.14.25; from 3.15.0 up to 3.15.20; from 3.16.0 up to 3.16.16; from 3.17.0 up to 3.17.13; from 3.18.0 up to 3.18.7; from 3.19.0 up to 3.19.4; from 3.20.0 before 3.20.1
- github enterprise_server: before 3.14.26; from 3.15.0 before 3.15.21; from 3.16.0 before 3.16.17; from 3.17.0 before 3.17.14; from 3.18.0 before 3.18.8; from 3.19.0 before 3.19.5; 3.20.0

## Every score

- GitHub_P: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://docs.github.com/en/enterprise-server@3.14/admin/release-notes#3.14.26> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.15/admin/release-notes#3.15.21> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.17> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.14> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.8> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.5> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.1> (release-notes, vendor-advisory)

## Sources

- CVE List: [CVE-2026-5512](https://www.cve.org/CVERecord?id=CVE-2026-5512), CVE Terms of Use, modified 2026-04-22
- NVD: [CVE-2026-5512](https://nvd.nist.gov/vuln/detail/CVE-2026-5512), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-5512 · Whole record: https://cve.day/CVE-2026-5512.json · Rebuilt by cve.day 2026-11-25T22:59:19.211Z
