cvelo
P2 · HighCVSS 8.3EPSS 0.4%

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

  • CVE-2026-131800
  • GHSA-6hcf-3hg2-vpf9
  • EUVD-2026-128415

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.

Text from the CVE.org record.

Recommendation

  • GitHub Enterprise Server

    • If you run 3.22.xupdate to 3.22.5 or laterPatch update: breaking changes are unlikely
    • If you run 3.21.xupdate to 3.21.10 or laterPatch update: breaking changes are unlikely
    • If you run 3.20.xupdate to 3.20.12 or laterPatch update: breaking changes are unlikely
    • If you run 3.19.xupdate to 3.19.16 or laterPatch update: breaking changes are unlikely

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • GitHub Enterprise Server

    Affected versionsFixed in
    from 3.22.0 to before 3.22.53.22.5
    from 3.21.0 to before 3.21.103.21.10
    from 3.20.0 to before 3.20.123.20.12
    from 3.19.0 to before 3.19.163.19.16

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.