CVE-2023-23760

Path traversal in GitHub Enterprise Server leading to remote code execution

State
Published
Severity
4.9 Medium
Published
Mar 8, 2023
Updated
Feb 28, 2025
Reserved
Jan 17, 2023

Read the record on cve.org

Description

A path traversal vulnerability was identified in GitHub Enterprise Server that allowed remote code execution when building a GitHub Pages site. 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 versions 3.8 and was fixed in versions 3.7.7, 3.6.10, 3.5.14, and 3.4.17. This vulnerability was reported via the GitHub Bug Bounty program.

Scores

CVSSScoreVectorSource
3.14.9 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:NGitHub_P

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
Enterprise ServerGitHub
  • 3.4.0 through 3.4.16Affectedfrom 3.4.17Not affected
  • 3.5.0 through 3.5.13Affectedfrom 3.5.14Not affected
  • 3.6.0 through 3.6.9Affectedfrom 3.6.10Not affected
  • 3.7.0 through 3.7.6Affectedfrom 3.7.7Not affected
  • 3.8.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.