# CVE-2026-8106: Reflected HTML injection vulnerability in GitHub Enterprise Server Management Console login page allowed credential theft

- Severity: Medium 5.9 (CVSS:4.0, scored by GitHub_P) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/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.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-05-07T21:18:59.259Z
- Modified: 2026-10-26T20:10:00.160Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_P

## Description

A reflected HTML injection vulnerability was identified in the GitHub Enterprise Server Management Console login page that could allow credential theft. The redirect_to query parameter on the /setup/unlock endpoint was reflected into an HTML attribute without proper sanitization, enabling an attacker to inject a form element that could capture administrator credentials. Exploitation required an administrator to click a crafted link and enter their credentials. This vulnerability affected GitHub Enterprise Server versions 3.19.1 through 3.19.5 and 3.20.0 through 3.20.1, and was fixed in versions 3.19.6 and 3.20.2. This vulnerability was reported via the GitHub Bug Bounty program.

(As written by CVE List.)

## Affected

- GitHub Enterprise Server: from 3.19.1 up to 3.19.5; from 3.20.0 up to 3.20.1 (not affected: 3.19.0; 3.21.0)
- github enterprise_server: from 3.19.1 before 3.19.6; from 3.20.0 before 3.20.2

## Every score

- GitHub_P: CVSS:4.0 5.9 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.6> (release-notes, vendor-advisory)
- <https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.2> (release-notes, vendor-advisory)

## Sources

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

---

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