CVE-2026-17556

A path traversal vulnerability was identified in GitHub Enterprise Server that allowed an unauthenticated attacker to delete arbitrary files and directories on the instance, including the entire user storage directory containing Git LFS objects, release assets, attachments, and avatars. The X-GitHub-Request-Id request header was used without sanitization as a filesystem path segment for the upload buffer directory, so a traversal value pointed the buffer at an arbitrary path and the deferred cleanup routine recursively removed the traversed target. Exploitation required only network reachability to the instance and no authentication, and it worked even when private mode was enabled. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.22 and was fixed in versions 3.21.4, 3.20.6, 3.19.10, 3.18.13 and 3.17.19. This vulnerability was reported via the GitHub Bug Bounty program.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*

History

23 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Una vulnerabilidad de salto de ruta fue identificada en GitHub Enterprise Server que permitía a un atacante no autenticado eliminar archivos y directorios arbitrarios en la instancia, incluyendo el directorio completo de almacenamiento de usuario que contenía objetos Git LFS, activos de lanzamiento, adjuntos y avatares. El encabezado de solicitud X-GitHub-Request-Id fue utilizado sin sanitización como un segmento de ruta del sistema de archivos para el directorio de búfer de carga, por lo que un valor de salto apuntaba el búfer a una ruta arbitraria y la rutina de limpieza diferida eliminaba recursivamente el objetivo recorrido. La explotación requería solo accesibilidad de red a la instancia y ninguna autenticación, y funcionaba incluso cuando el modo privado estaba habilitado. Esta vulnerabilidad afectó a todas las versiones de GitHub Enterprise Server anteriores a la 3.22 y fue corregida en las versiones 3.21.4, 3.20.6, 3.19.10, 3.18.13 y 3.17.19. Esta vulnerabilidad fue reportada a través del programa GitHub Bug Bounty.

Information

Published : 2026-08-05 20:17

Updated : 2026-10-23 21:10


NVD link : CVE-2026-17556

Mitre link : CVE-2026-17556

CVE.ORG link : CVE-2026-17556


JSON object : View

Products Affected

github

  • enterprise_server
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')