CVE-2026-5921: CWE-918 Server-Side Request Forgery (SSRF) in GitHub Enterprise Server
CVE-2026-5921 is a high-severity server-side request forgery (SSRF) vulnerability in GitHub Enterprise Server affecting versions prior to 3. 21. It allows an unauthenticated attacker to extract sensitive environment variables via a timing side-channel attack against the notebook rendering service when private mode is disabled. The vulnerability involves the notebook viewer following HTTP redirects without revalidating the destination host, enabling SSRF to internal services. Exploitation requires chaining an open redirect endpoint through an external redirect to reach internal services and leveraging regex filter queries to infer secret values character by character. The issue was fixed in versions 3. 14. 26, 3. 15. 21, 3.
AI Analysis
Technical Summary
CVE-2026-5921 is a server-side request forgery vulnerability in GitHub Enterprise Server's notebook rendering service. When private mode is disabled, the notebook viewer does not revalidate the destination host after HTTP redirects, allowing unauthenticated SSRF attacks to internal services. Attackers can chain this SSRF with regex filter queries against an internal API and use timing side-channel techniques to extract sensitive environment variables character by character. This vulnerability affects all GitHub Enterprise Server versions before 3.21 and was addressed in multiple patch releases starting from 3.14.26 onwards. Exploitation requires private mode to be disabled and the ability to leverage the instance's open redirect endpoint through an external redirect.
Potential Impact
An attacker can extract sensitive environment variables from the GitHub Enterprise Server instance without authentication by exploiting SSRF and timing side-channel attacks. This could lead to disclosure of secrets that may compromise the confidentiality and integrity of the server environment. The vulnerability has a CVSS 4.0 score of 8.9 (high severity), indicating significant impact if exploited. There are no known exploits in the wild at the time of publication.
Mitigation Recommendations
This vulnerability has been fixed in GitHub Enterprise Server versions 3.14.26, 3.15.21, 3.16.17, 3.17.14, 3.18.8, 3.19.5, and 3.20.1. Users should upgrade to one of these fixed versions or later to remediate the issue. Since the vendor advisory does not specify any temporary or alternative mitigations, patching is the recommended action. Private mode being enabled also prevents exploitation, so ensuring private mode is enabled can mitigate risk until patching is applied.
CVE-2026-5921: CWE-918 Server-Side Request Forgery (SSRF) in GitHub Enterprise Server
Description
CVE-2026-5921 is a high-severity server-side request forgery (SSRF) vulnerability in GitHub Enterprise Server affecting versions prior to 3. 21. It allows an unauthenticated attacker to extract sensitive environment variables via a timing side-channel attack against the notebook rendering service when private mode is disabled. The vulnerability involves the notebook viewer following HTTP redirects without revalidating the destination host, enabling SSRF to internal services. Exploitation requires chaining an open redirect endpoint through an external redirect to reach internal services and leveraging regex filter queries to infer secret values character by character. The issue was fixed in versions 3. 14. 26, 3. 15. 21, 3.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-5921 is a server-side request forgery vulnerability in GitHub Enterprise Server's notebook rendering service. When private mode is disabled, the notebook viewer does not revalidate the destination host after HTTP redirects, allowing unauthenticated SSRF attacks to internal services. Attackers can chain this SSRF with regex filter queries against an internal API and use timing side-channel techniques to extract sensitive environment variables character by character. This vulnerability affects all GitHub Enterprise Server versions before 3.21 and was addressed in multiple patch releases starting from 3.14.26 onwards. Exploitation requires private mode to be disabled and the ability to leverage the instance's open redirect endpoint through an external redirect.
Potential Impact
An attacker can extract sensitive environment variables from the GitHub Enterprise Server instance without authentication by exploiting SSRF and timing side-channel attacks. This could lead to disclosure of secrets that may compromise the confidentiality and integrity of the server environment. The vulnerability has a CVSS 4.0 score of 8.9 (high severity), indicating significant impact if exploited. There are no known exploits in the wild at the time of publication.
Mitigation Recommendations
This vulnerability has been fixed in GitHub Enterprise Server versions 3.14.26, 3.15.21, 3.16.17, 3.17.14, 3.18.8, 3.19.5, and 3.20.1. Users should upgrade to one of these fixed versions or later to remediate the issue. Since the vendor advisory does not specify any temporary or alternative mitigations, patching is the recommended action. Private mode being enabled also prevents exploitation, so ensuring private mode is enabled can mitigate risk until patching is applied.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_P
- Date Reserved
- 2026-04-08T20:59:17.367Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e7faad19fe3cd2cd001605
Added to database: 4/21/2026, 10:31:09 PM
Last enriched: 4/21/2026, 10:46:04 PM
Last updated: 4/22/2026, 1:39:04 AM
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.