# CVE-2026-131800: Stored cross-site scripting vulnerability in GitHub Enterprise Server allowed unauthorized SSH key addition to another user account

- **Severity:** HIGH 8.3
- **CVSS:** 8.3 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:L/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: High; User interaction: Active; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.44% (percentile 40, 2026-12-03)
- **CWE:** CWE-79
- **Published:** 2026-11-18T02:34:56.852Z
- **Modified:** 2026-12-02T19:52:01.777Z

## Who should check

- Anyone running GitHub Enterprise Server \>= 3.19.0, \< 3.19.\*; \>= 3.20.0, \< 3.20.\*; \>= 3.21.0, \< 3.21.\*; \>= 3.22.0, \< 3.22.\*

## Description

A stored cross-site scripting vulnerability was identified in GitHub Enterprise Server that allowed an organization member with permission to manage custom-property definitions and edit property values to add an attacker-controlled SSH authentication key to the personal account of another member through HTML stored in a single-select custom-property option. Exploitation required another definition manager in the same organization to attempt to remove the poisoned option while it was in use and save the definition with a valid sudo session. Repository access through the added key depended on the permissions of the victim and independent authorization controls. This vulnerability affected supported GitHub Enterprise Server prior to 3.23 and was fixed in versions 3.19.16, 3.20.12, 3.21.10, and 3.22.5. This vulnerability was reported via the GitHub Bug Bounty program.

## Affected and fixed versions

- GitHub Enterprise Server: \>= 3.19.0, \< 3.19.\*; \>= 3.20.0, \< 3.20.\*; \>= 3.21.0, \< 3.21.\*; \>= 3.22.0, \< 3.22.\* (cvelist)

## Mitigation

- Upgrade Enterprise Server to 3.22.\* or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-131800. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-131800.md
Affected: GitHub Enterprise Server >= 3.19.0, < 3.19.*; >= 3.20.0, < 3.20.*; >= 3.21.0, < 3.21.*; >= 3.22.0, < 3.22.*
Fixed in: GitHub Enterprise Server 3.19.*, GitHub Enterprise Server 3.20.*, GitHub Enterprise Server 3.21.*, GitHub Enterprise Server 3.22.*

Steps:
1. Search this machine and project for GitHub Enterprise Server: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-131800 being exploited?

There is no confirmed exploitation: CVE-2026-131800 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.44% chance of exploitation in the next 30 days (as of 2026-12-03).

### How serious is CVE-2026-131800?

High: CVSS 8.3 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-131800?

GitHub Enterprise Server \>= 3.19.0, \< 3.19.\*; \>= 3.20.0, \< 3.20.\*; \>= 3.21.0, \< 3.21.\*; \>= 3.22.0, \< 3.22.\*.

### Is there a fix for CVE-2026-131800?

Yes. Fixed in GitHub Enterprise Server 3.19.\*, GitHub Enterprise Server 3.20.\*, GitHub Enterprise Server 3.21.\*, GitHub Enterprise Server 3.22.\*. Upgrade Enterprise Server to 3.22.\* or later.

### How do I check if I'm affected by CVE-2026-131800?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.16>
- patch: <https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.12>
- patch: <https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.10>
- patch: <https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.5>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-131800>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-131800> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-131800>
