VulnarioBlogGitHub vulnerabilities
GitHub Vulnerabilities: The 10 Most Critical GitHub Security Bugs (CVEs)
GitHub vulnerabilities are security flaws in GitHub that attackers can abuse to steal data, take over a server or interrupt a service. GitHub is the largest code hosting platform; GitHub Enterprise Server is its self-hosted edition. The National Vulnerability Database (NVD) lists 126 CVEs for GitHub, 20 of them rated critical, and 36 were published in the last 12 months. None of them is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog for the product entries we checked.
This guide lists the 10 most critical GitHub security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers GitHub security basics and a free way to be told about the next GitHub CVE as soon as it is published.
Key takeaways
- No GitHub CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
- 20 GitHub CVEs are rated critical (CVSS v3), and 36 new ones were published in the last 12 months.
- The newest CVE in this guide is CVE-2026-77987, published Sep 22, 2026.
- You can monitor GitHub for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.
How we ranked these GitHub CVEs
We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.
Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.
The 10 most critical GitHub CVEs at a glance
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2026-77987 | 9.8 Critical | 2026-09-22 | Server-side request forgery (SSRF) | No |
| 2 | CVE-2026-8034 | 9.8 Critical | 2026-05-07 | Server-side request forgery (SSRF) | No |
| 3 | CVE-2024-6800 | 9.8 Critical | 2024-08-20 | Critical security flaw | No |
| 4 | CVE-2024-4985 | 9.8 Critical | 2024-05-20 | Authentication bypass | No |
| 5 | CVE-2024-0200 | 9.8 Critical | 2024-01-16 | Remote code execution | No |
| 6 | CVE-2022-23739 | 9.8 Critical | 2023-01-17 | Incorrect authorization | No |
| 7 | CVE-2022-46255 | 9.8 Critical | 2022-12-14 | Path traversal | No |
| 8 | CVE-2021-22869 | 9.8 Critical | 2021-09-24 | Resource exposure | No |
| 9 | CVE-2026-5845 | 9.6 Critical | 2026-04-21 | Critical security flaw | No |
| 10 | CVE-2025-11892 | 9.6 Critical | 2025-11-10 | Cross-site scripting (XSS) | No |
Each GitHub CVE explained
1. CVE-2026-77987: Server-side request forgery (SSRF)
- What NVD says
- A server-side request forgery (SSRF) vulnerability was identified in the notebook viewer of GitHub Enterprise Server. The notebook viewer validated the scheme and host of a user-supplied URL but did not validate the port, allowing requests to be directed to internal services listening on other ports of the same appliance.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 3.17.0 to before 3.17.21; 3.18.0 to before 3.18.15; 3.19.0 to before 3.19.12; 3.20.0 to before 3.20.8
- What to do
- Upgrade to the fixed release for your branch (3.17.21, 3.18.15, 3.19.12) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
2. CVE-2026-8034: Server-side request forgery (SSRF)
- What NVD says
- 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.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 3.16.18; 3.17.0 to before 3.17.15; 3.18.0 to before 3.18.9; 3.19.0 to before 3.19.6
- What to do
- Upgrade to the fixed release for your branch (3.16.18, 3.17.15, 3.18.9) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
3. CVE-2024-6800: Critical security flaw
- What NVD says
- An XML signature wrapping vulnerability was present in GitHub Enterprise Server (GHES) when using SAML authentication with specific identity providers utilizing publicly exposed signed federation metadata XML. This vulnerability allowed an attacker with direct network access to GitHub Enterprise Server to forge a SAML response to provision and/or gain access to a user with site administrator privileges.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 3.10.0 to before 3.10.16; 3.11.0 to before 3.11.14; 3.12.0 to before 3.12.8; 3.13.0 to before 3.13.3
- What to do
- Upgrade to the fixed release for your branch (3.10.16, 3.11.14, 3.12.8) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
4. CVE-2024-4985: Authentication bypass
- What NVD says
- An authentication bypass vulnerability was present in the GitHub Enterprise Server (GHES) when utilizing SAML single sign-on authentication with the optional encrypted assertions feature. This vulnerability allowed an attacker to forge a SAML response to provision and/or gain access to a user with site administrator privileges.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 3.9.15; 3.10.0 to before 3.10.12; 3.11.0 to before 3.11.10; 3.12.0 to before 3.12.4
- What to do
- Upgrade to the fixed release for your branch (3.9.15, 3.10.12, 3.11.10) or a later one, then restart the service.
5. CVE-2024-0200: Remote code execution
- What NVD says
- An unsafe reflection vulnerability was identified in GitHub Enterprise Server that could lead to reflection injection. This vulnerability could lead to the execution of user-controlled methods and remote code execution. To exploit this bug, an actor would need to be logged into an account on the GHES instance with the organization owner role.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 3.8.0 to before 3.8.13; 3.9.0 to before 3.9.8; 3.10.0 to before 3.10.5; 3.11.0 to before 3.11.3
- What to do
- Upgrade to the fixed release for your branch (3.8.13, 3.9.8, 3.10.5) or a later one, then restart the service.
6. CVE-2022-23739: Incorrect authorization
- What NVD says
- An incorrect authorization vulnerability was identified in GitHub Enterprise Server, allowing for escalation of privileges in GraphQL API requests from GitHub Apps. This vulnerability allowed an app installed on an organization to gain access to and modify most organization-level resources that are not tied to a repository regardless of granted permissions, such as users and organization-wide projects.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 3.3.16; 3.4.0 to before 3.4.11; 3.5.0 to before 3.5.8; 3.6.0 to before 3.6.4
- What to do
- Upgrade to the fixed release for your branch (3.3.16, 3.4.11, 3.5.8) or a later one, then restart the service.
7. CVE-2022-46255: Path traversal
- What NVD says
- An improper limitation of a pathname to a restricted directory vulnerability was identified in GitHub Enterprise Server that enabled remote code execution. A check was added within Pages to ensure the working directory is clean before unpacking new content to prevent an arbitrary file overwrite bug. This vulnerability affected only version 3.7.0 of GitHub Enterprise Server and was fixed in version 3.7.1.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 3.7.0
- What to do
- Apply the vendor's security update for your release and restart the service.
8. CVE-2021-22869: Resource exposure
- What NVD says
- An improper access control vulnerability in GitHub Enterprise Server allowed a workflow job to execute in a self-hosted runner group it should not have had access to. This affects customers using self-hosted runner groups for access control.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 3.0.0 to before 3.0.16; 3.1.0 to before 3.1.8
- What to do
- Upgrade to the fixed release for your branch (3.0.16, 3.1.8) or a later one, then restart the service.
9. CVE-2026-5845: Critical security flaw
- What NVD says
- An improper authorization vulnerability in scoped user-to-server (ghu_) token authorization in GitHub Enterprise Server allows an authenticated attacker to access private repositories outside the intended installation scope, which can include write operations, via an authorization fallback that treated a revoked/deleted installation as a global installation context, which could be chained with token revocation…
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality and integrity.
- Affected versions
- before 3.14.26; 3.15.0 to before 3.15.21; 3.16.0 to before 3.16.17; 3.17.0 to before 3.17.14
- What to do
- Upgrade to the fixed release for your branch (3.14.26, 3.15.21, 3.16.17) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
10. CVE-2025-11892: Cross-site scripting (XSS)
- What NVD says
- An improper neutralization of input vulnerability was identified in GitHub Enterprise Server that allows DOM-based cross-site scripting via Issues search label filter that could lead to privilege escalation and unauthorized workflow triggers.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 3.14.19; 3.15.0 to before 3.15.14; 3.16.0 to before 3.16.10; 3.17.0 to before 3.17.7
- What to do
- Upgrade to the fixed release for your branch (3.14.19, 3.15.14, 3.16.10) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
GitHub security checklist
- Never expose management ports or dashboards to the internet without authentication.
- Rotate tokens and credentials, and keep them out of repositories and logs.
- Apply least privilege to pipelines, runners and service accounts.
- Update the tool and its plugins or extensions on a schedule.
- Pin versions of images and dependencies, and scan them.
Your stack is bigger than GitHub. A flaw anywhere in the chain can be the way in, so also review our guides to Git vulnerabilities, GitLab vulnerabilities and Jenkins vulnerabilities.
How to get alerted about new GitHub vulnerabilities
NVD received 36 new GitHub CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:
- Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
- Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
- Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.
Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose GitHub and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.
- Free: all technologies, alerts grouped at most every 12 hours.
- Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.
Related security guides
Few stacks run GitHub alone. These guides cover the technologies it is most often deployed with.
- Git vulnerabilities: Git is the distributed version control system used by almost every software team.
- GitLab vulnerabilities: GitLab is a DevOps platform with Git hosting and CI/CD.
- Jenkins vulnerabilities: Jenkins is the most widely used open-source CI/CD automation server.
- Apache Airflow vulnerabilities: Apache Airflow is a platform for scheduling and monitoring data workflows.
- Ansible vulnerabilities: Ansible is an agentless IT automation tool.
- Argo CD vulnerabilities: Argo CD is a declarative GitOps continuous delivery tool for Kubernetes.
- SonarQube vulnerabilities: SonarQube is a code quality and security analysis platform.
Frequently asked questions about GitHub vulnerabilities
What are the most critical GitHub vulnerabilities?
Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical GitHub CVEs include CVE-2026-77987 (CVSS 9.8), CVE-2026-8034 (CVSS 9.8), CVE-2024-6800 (CVSS 9.8). The guide above ranks the 10 most critical with affected versions and fixes.
Have GitHub vulnerabilities been exploited in real attacks?
For the GitHub product entries we checked, none of the CVEs is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A CVE can still be exploited before it is added, so keep GitHub patched.
How many vulnerabilities does GitHub have?
As of Nov 3, 2026 the National Vulnerability Database lists 126 CVEs for GitHub, with 20 rated critical by CVSS v3. 36 were published in the previous twelve months.
How can I get alerted when a new GitHub CVE is published?
Add GitHub to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose GitHub and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.
Is GitHub secure?
GitHub is as secure as its patch level. NVD published 36 new GitHub CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.
What is CVE-2026-77987?
CVE-2026-77987 is a critical GitHub vulnerability with a CVSS score of 9.8, published Sep 22, 2026. A server-side request forgery (SSRF) vulnerability was identified in the notebook viewer of GitHub Enterprise Server.
Sources
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.