CVE-2026-14340

An incorrect authorization vulnerability was identified in GitHub Enterprise Server that allowed a user-to-server token scoped to a GitHub App installation to perform certain write operations on public repositories outside the token's intended scope. This was possible because the authorization check only verified that the installation had read permissions on the target repository rather than verifying that the token's installation was explicitly granted access to that repository. An attacker who obtained a victim's user-to-server token could create issues, issue comments, commit comments, and private vulnerability reports on any public repository, appearing as the victim user with no indication of the app involvement. This vulnerability was fixed by adding a repository scope check for user-to-server tokens issued by global apps. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.22 and was fixed in versions 3.21.2, 3.20.4, 3.19.8, 3.18.11, 3.17.17, 3.16.20. 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:*:*:*:*:*:*:*:*
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*

History

25 Oct 2026, 16:10

Type Values Removed Values Added
Summary
  • (es) Una vulnerabilidad de autorización incorrecta fue identificada en GitHub Enterprise Server que permitía que un token de usuario a servidor con alcance a una instalación de GitHub App realizara ciertas operaciones de escritura en repositorios públicos fuera del alcance previsto del token. Esto fue posible porque la verificación de autorización solo verificaba que la instalación tenía permisos de lectura en el repositorio de destino en lugar de verificar que a la instalación del token se le había concedido acceso explícitamente a ese repositorio. Un atacante que obtuviera un token de usuario a servidor de una víctima podría crear incidencias, comentarios de incidencias, comentarios de commits e informes de vulnerabilidad privados en cualquier repositorio público, apareciendo como el usuario víctima sin ninguna indicación de la participación de la aplicación. Esta vulnerabilidad fue corregida añadiendo una verificación de alcance de repositorio para tokens de usuario a servidor emitidos por aplicaciones globales. Esta vulnerabilidad afectó a todas las versiones de GitHub Enterprise Server anteriores a la 3.22 y fue corregida en las versiones 3.21.2, 3.20.4, 3.19.8, 3.18.11, 3.17.17, 3.16.20. Esta vulnerabilidad fue reportada a través del programa GitHub Bug Bounty.

Information

Published : 2026-07-01 21:16

Updated : 2026-10-25 16:10


NVD link : CVE-2026-14340

Mitre link : CVE-2026-14340

CVE.ORG link : CVE-2026-14340


JSON object : View

Products Affected

github

  • enterprise_server
CWE
CWE-863

Incorrect Authorization