Administrator credential theft via unsanitized redirect attribute
Published May 7, 2026 · Updated May 7, 2026
HTML injection in affected GitHub Enterprise Server releases allows remote attackers to steal administrator credentials through a crafted login link. The /setup/unlock login template places the redirect_to query parameter into an HTML attribute without sanitization, enabling an injected form to collect submitted credentials. Affected versions are 3.19.1 through 3.19.5 and 3.20.0 through 3.20.1; exploitation requires an administrator to open the link and enter credentials.
Summary
What happened
HTML injection in affected GitHub Enterprise Server releases allows remote attackers to steal administrator credentials through a crafted login link. The /setup/unlock login template places the redirect_to query parameter into an HTML attribute without sanitization, enabling an injected form to collect submitted credentials. Affected versions are 3.19.1 through 3.19.5 and 3.20.0 through 3.20.1; exploitation requires an administrator to open the link and enter credentials.
The record
- CVE
- CVE-2026-8106
- Published
- May 7, 2026
- Updated
- May 7, 2026
- Vendor
- Product
- GitHub Enterprise Server
- Classifications
- CWE-79, CAPEC-243, T1566.002, T1056.003
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 7, 2026CVE publishedPublication date reported by the CVE source.
- May 7, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.19.1 <=3.19.5 changes=[{"at":"3.19.6","status":"unaffected"}]
- Affected versionversion=3.20.0 <=3.20.1 changes=[{"at":"3.20.2","status":"unaffected"}]
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo