🔍 CVE-2026-14340

5.0
CVSS Score
MEDIUM
2026-07-01
2026-10-25 16:10
✅ 완료

🇰🇷 한글 설명

GitHub Enterprise Server에서 권한 부여 오류로 인해 GitHub App 설치 범위 외의 공개 저장소에 쓰기 작업을 수행할 수 있는 취약점이 발견되었습니다. 공격자가 피해자의 토큰을 획득할 경우, 피해자 본인인 것처럼 공개 저장소에 이슈 생성, 댓글 작성, 비공개 취약점 보고 등을 수행할 수 있습니다.

💡 쉬운 설명

특정 앱을 사용할 때 받는 권한이 너무 넓게 적용되어, 공격자가 사용자의 권한을 도용해 다른 공개 프로젝트에 마음대로 글을 남길 수 있는 문제입니다. 이로 인해 사용자가 하지 않은 행동이 사용자가 한 것처럼 기록될 수 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

GitHub Enterprise Server 3.22 미만 모든 버전

⚔️ 공격 벡터

피해자의 user-to-server 토큰을 탈취하여 권한 검증이 미흡한 공개 저장소에 쓰기 요청 전송

🛡️ 대응 방법

GitHub Enterprise Server를 수정된 버전(3.21.2, 3.20.4, 3.19.8, 3.18.11, 3.17.17, 3.16.20 이상)으로 업데이트

🔧 검증 코드

출력된 버전 정보가 보안 패치가 적용된 최소 버전 중 하나와 일치하는지 확인합니다.

Shell / Script
curl -s https://api.github.com/enterprise/versions | grep -E '3.21.2|3.20.4|3.19.8|3.18.11|3.17.17|3.16.20'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Git