🔍 CVE-2026-86684

7.1
CVSS Score
HIGH
2026-10-06
2026-10-13 18:05
✅ 완료

🇰🇷 한글 설명

Gitea의 push mirror API가 요청 사용자가 아닌 저장소 소유자의 권한을 기준으로 로컬 파일 시스템 경로 사용 여부를 확인하는 취약점입니다. [security] IMPORT_LOCAL_PATHS 설정이 활성화된 경우, 로컬 경로 권한이 없는 관리자라도 저장소 소유자의 권한을 이용해 서버 내 로컬 경로로 푸시 미러를 추가할 수 있습니다. 이로 인해 Gitea 프로세스 권한으로 서버 내 기존 Git 저장소에 데이터가 푸시될 수 있습니다.

💡 쉬운 설명

권한이 없는 사용자가 저장소 주인의 권한을 빌려 서버 내부의 중요한 파일 경로에 데이터를 강제로 쓸 수 있는 보안 결함입니다. 이를 통해 공격자가 서버의 파일 시스템에 영향을 줄 수 있습니다.

🇺🇸 원문 (English)

The Gitea push mirror API checked whether the repository owner, instead of the requesting user, may use local file system paths. On instances with `[security] IMPORT_LOCAL_PATHS = true`, a repository administrator who is not allowed to import local paths could add a push mirror to a local path on the server when the repository owner has that permission. Gitea then pushed the repository's refs into an existing Git repository at that path with the permissions of the Gitea process.

📍 영향받는 시스템

Gitea (IMPORT_LOCAL_PATHS = true 설정이 활성화된 인스턴스)

⚔️ 공격 벡터

저장소 소유자의 권한을 악용하여 로컬 파일 시스템 경로를 push mirror 대상으로 지정하는 방식

🛡️ 대응 방법

Gitea를 최신 보안 패치 버전으로 업데이트하거나, 설정 파일에서 [security] IMPORT_LOCAL_PATHS를 false로 변경하십시오.

🔧 검증 코드

출력된 Gitea 버전을 확인하여 해당 취약점이 해결된 최신 버전인지 확인하십시오.

Shell / Script
gitea --version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Git