Enterprise ServerApplication · GitHub

CVE-2026-5921

HIGH · 8.9 CVSS v3.1 Published 2026-04-21
Fix available
A fix is available. Upgrade to 3.14.26 / 3.15.21 or later.
See remediation →
98/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
A server-side request forgery (SSRF) vulnerability was identified in GitHub Enterprise Server that allowed an attacker to extract sensitive environment variables from the instance through a timing side-channel attack against the notebook rendering service. When private mode was disabled, the notebook viewer followed HTTP redirects without revalidating the destination host, enabling an unauthenticated SSRF to internal services. By chaining this with regex filter queries against an internal API and measuring response time differences, an attacker could infer secret values character by character. Exploitation required that private mode be disabled and that the attacker be able to chain the instance's open redirect endpoint through an external redirect to reach internal services. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.21 and was fixed in versions 3.14.26, 3.15.21, 3.16.17, 3.17.14, 3.18.8, 3.19.5, and 3.20.1. This vulnerability was reported via the GitHub Bug Bounty program.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

This is an SSRF vulnerability in GitHub Enterprise Server's notebook rendering service that allows unauthenticated attackers to reach internal services when private mode is disabled. The vulnerability chains an open redirect with the notebook viewer's failure to revalidate redirect destinations, combined with a timing side-channel attack against internal API regex filters to infer secret environment variables character by character.

MitigationUpgrade GitHub Enterprise Server to a fixed version (3.14.26, 3.15.21, 3.16.17, 3.17.14, 3.18.8, 3.19.5, or 3.20.1 or later) and ensure private mode is enabled to prevent exploitation.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Enterprise ServerApplication
Affected:< 3.14.26>= 3.15.0, < 3.15.21>= 3.16.0, < 3.16.17>= 3.17.0, < 3.17.14>= 3.18.0, < 3.18.8>= 3.19.0, < 3.19.5= 3.20.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
Low

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify GitHub Enterprise Server version
    Access the GitHub Enterprise Server management console or admin dashboard. The version is displayed on the main admin page or can be retrieved via the /api/v3/version endpoint if unauthenticated access is allowed.
    Affected if The installed version falls into any of these ranges: < 3.14.26, >= 3.15.0 < 3.15.21, >= 3.16.0 < 3.16.17, >= 3.17.0 < 3.17.14, >= 3.18.0 < 3.18.8, >= 3.19.0 < 3.19.5, or equals exactly 3.20.0.
  2. Verify private mode configuration
    Navigate to the GitHub Enterprise Server management console, go to Settings > Authentication, and check the 'Private mode' setting. This setting controls whether the instance requires authentication for viewing repositories.
    Affected if Private mode is disabled, allowing unauthenticated access to the notebook viewer and enabling the redirect-following behavior.
  3. Confirm notebook rendering service is accessible
    Attempt to access a notebook file (e.g., .ipynb) on the GHES instance without authentication, or verify the notebook rendering endpoint responds to unauthenticated requests.
    Affected if The notebook viewer endpoint is accessible to unauthenticated users, which is required for the SSRF exploitation chain.
  4. Check for internal network exposure
    Review whether the GHES instance can make outbound HTTP requests to internal services. This is typically a default capability but can be restricted via firewall rules.
    Affected if The GHES server has the ability to follow redirects to internal network addresses, enabling the SSRF attack vector.

You are affected if your GitHub Enterprise Server version is within any of the vulnerable ranges AND private mode is disabled, allowing unauthenticated attackers to exploit the notebook redirect following behavior for SSRF and timing-based secret extraction.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 3.14.26 / 3.15.21 / 3.16.17 or later
Fixed in 3.14.263.15.213.16.17
Interim mitigation

Upgrade GitHub Enterprise Server to a fixed version (3.14.26, 3.15.21, 3.16.17, 3.17.14, 3.18.8, 3.19.5, or 3.20.1 or later) and ensure private mode is enabled to prevent exploitation.

Recommended fix High confidence

3.20.1 (or the latest 3.x release in your upgrade lineage: 3.14.26 for 3.14.x, 3.15.21 for 3.15.x, 3.16.17 for 3.16.x, 3.17.14 for 3.17.x)

  1. 1. Identify the current GitHub Enterprise Server version by navigating to the management console or running: ghe-version
  2. 2. Based on the current version, determine the appropriate target upgrade path from the fixed versions: 3.14.26, 3.15.21, 3.16.17, 3.17.14, 3.18.8, 3.19.5, or 3.20.1
  3. 3. Back up the GitHub Enterprise Server instance including all data and configuration before proceeding with the upgrade
  4. 4. Download the appropriate upgrade package from the GitHub Enterprise downloads page matching your target version
  5. 5. Follow the standard GitHub Enterprise Server upgrade procedure: upload the upgrade package via the management console or run the installation command
  6. 6. After upgrade completes, verify the instance is functioning correctly
  7. 7. Confirm the fix is applied by checking that the notebook viewer now properly validates redirect destinations and no longer allows SSRF to internal services when private mode is disabled
Caveat Standard GitHub Enterprise Server upgrade considerations apply; review release notes for your specific version jump for any configuration or feature changes

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Enterprise Server Scoped from the published advisory
  • Consultation4.0 h
  • Implementation16.0 h
  • Testing8.0 h
  • Review / QA4.0 h
32.0 hours of engineering $5,600
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $8,960.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-5921 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-5921 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data