Skip to content
OpenAdvisories
High · 8.3 CVE-2026-131800 EUVD-2026-128415GHSA-6hcf-3hg2-vpf9

Stored cross-site scripting vulnerability in GitHub Enterprise Server allowed unauthorized SSH key addition to another user account

Published Nov 18, 2026 · Assigned by GitHub_P

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 products

VendorProductAffectedFixed
GitHub Enterprise Server 3.19.0 – < 3.19.*, 3.20.0 – < 3.20.*, 3.21.0 – < 3.21.*, 3.22.0 – < 3.22.* 3.19.*

References