🔍 CVE-2026-104626

8.8
CVSS Score
HIGH
2026-10-06
2026-10-13 17:24
✅ 완료

🇰🇷 한글 설명

포크된 풀 리퀘스트를 통해 승인 대기 중인 Gitea Actions 워크플로우에 공유된 동시성 그룹을 삽입하여 악성 코드를 실행할 수 있는 취약점입니다. 관리자가 나중에 해당 실행을 승인하면, 이미 취소된 작업이 다시 실행 가능한 상태로 전환되어 공격자가 제어하는 워크플로우 코드가 실행될 수 있습니다.

💡 쉬운 설명

공격자가 만든 코드가 관리자의 승인을 유도하여 서버에서 몰래 실행될 수 있는 보안 허점입니다. 관리자가 실수로 승인 버튼을 누르면 공격자가 의도한 위험한 명령어가 작동하게 됩니다.

🇺🇸 원문 (English)

A user who can open a fork pull request can place workflow content with a shared run-level concurrency group into a Gitea Actions run that is awaiting approval. When a later run in that group cancels the blocked job, the run becomes terminal while still marked as needing approval. If a maintainer later approves the run, Gitea passed the already-cancelled job back through concurrency preparation, set it to waiting, and made it claimable by a matching runner, executing fork-controlled workflow code. Exploitation requires the maintainer's later approval action, Actions to be enabled, and a runner that accepts the repository's jobs.

📍 영향받는 시스템

Gitea Actions 기능이 활성화된 Gitea 시스템

⚔️ 공격 벡터

포크된 저장소의 워크플로우 동시성 그룹 조작을 통한 관리자 승인 유도

🛡️ 대응 방법

Gitea를 최신 보안 패치가 적용된 버전으로 업데이트하고, 신뢰할 수 없는 포크의 워크플로우 승인 시 주의를 기울여야 합니다.

🔧 검증 코드

출력된 Gitea 버전이 해당 취약점이 해결된 패치 버전인지 확인합니다.

Shell / Script
curl -s http://<gitea-url>/api/v1/version | grep -E 'version'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Git