CVE-2026-8034 PUBLISHED

Server-side request forgery vulnerability in GitHub Enterprise Server notebook viewer via URL parser confusion

Assigner: GitHub_P
Reserved: 06.05.2026 Published: 07.05.2026 Updated: 07.05.2026

A server-side request forgery (SSRF) vulnerability was identified in the GitHub Enterprise Server notebook viewer that allowed an attacker to access internal services by exploiting URL parser confusion between the validation layer and the HTTP request library. The hostname validation used a different URL parser than the request library, enabling a crafted URL to pass validation while directing the request to an unintended host. Exploitation required network access to the GitHub Enterprise Server instance. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.21 and was fixed in versions 3.16.18, 3.17.15, 3.18.9, 3.19.6, and 3.20.2. This vulnerability was reported via the GitHub Bug Bounty program.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
CVSS Score: 7.9

Product Status

Vendor GitHub
Product Enterprise Server
Versions Default: affected
  • affected from 3.16.0 to 3.16.17 (incl.)
  • affected from 3.17.0 to 3.17.14 (incl.)
  • affected from 3.18.0 to 3.18.8 (incl.)
  • affected from 3.19.0 to 3.19.5 (incl.)
  • affected from 3.20.0 to 3.20.1 (incl.)
  • Version 3.21.0 is unaffected

Credits

  • R31n finder

References

Problem Types

  • CWE-918 Server-Side request forgery (SSRF) CWE
  • CWE-436 Interpretation Conflict CWE

Impacts

  • CAPEC-664 Server Side Request Forgery