Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2021-22868
github enterprise server

Score4.3 Medium
CVSS 3.1
Exploit probability (EPSS)0.93%
within the next 30 days
CategoryCode execution & injection
Published24 September 2021
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.

Impact is limited: reading confidential data.

Weakness type: Command injection.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

A path traversal vulnerability was identified in GitHub Enterprise Server that could be exploited when building a GitHub Pages site. User-controlled configuration options used by GitHub Pages were not sufficiently restricted and made it possible to read files on the GitHub Enterprise Server instance. To exploit this vulnerability, an attacker would need permission to create and build a GitHub Pages site on the GitHub Enterprise Server instance. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.1.8 and was fixed in 3.1.8, 3.0.16, and 2.22.22. This vulnerability was reported via the GitHub Bug Bounty program. This is the result of an incomplete fix for CVE-2021-22867.

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

Weakness: CWE-77 – Command injection, CWE-22 – Path traversal

Affected products

VendorProductVersions
githubenterprise server<2.22.22
githubenterprise server>=3.0.0 <3.0.16
githubenterprise server>=3.1.0 <3.1.8

Sources

Latest in the same category

  • CVE-2026-140057 Low 2
    A vulnerability was detected in yangzongzhuan RuoYi up to 4.8.3. The impacted element is an unknown function of the file ruoyi-admin/src/main/resources/templates/system/menu/menu.html of the component Menu Management.…
    Code execution & injection · 1 December 2026
  • CVE-2026-140056 Low 2
    A security vulnerability has been detected in yangzongzhuan RuoYi up to 4.8.3. The affected element is the function menuItem of the file ruoyi-admin/src/main/resources/static/ruoyi/index.js of the component Menu…
    Code execution & injection · 1 December 2026
  • CVE-2026-140041 High 8.5
    A flaw has been found in WAVLINK WL-WN530BE1-A M30BE1_V251117. The impacted element is the function FUN_0001f94c of the file /protocol.csp of the component ioos. Executing a manipulation of the argument mac can lead to…
    Code execution & injection · 1 December 2026
  • CVE-2026-140040 High 8.6
    A vulnerability was detected in WAVLINK WL-WN530BE1-A M30BE1_V251117. The affected element is the function port_forward of the file /protocol.csp of the component ioos. Performing a manipulation of the argument Name…
    Code execution & injection · 1 December 2026
  • CVE-2026-139983 Medium 5.5
    A vulnerability was identified in walinejs Waline up to 1.43.4. This issue affects some unknown processing. Such manipulation of the argument mail leads to sql injection. The attack can be executed remotely. The…
    Code execution & injection · 1 December 2026
  • CVE-2026-139982 Medium 5.5
    A vulnerability was found in PerfreeBlog up to 4.0.11. This issue affects the function buildPage of the file MyBatisUtils.java. Performing a manipulation of the argument Field results in sql injection. Remote…
    Code execution & injection · 1 December 2026