CVE-2026-70402 Gitea local code execution through writable Git hooks
설명
Gitea creates server-side Git hook directories and scripts with mode 0777 and relies on the process umask to restrict access. With a permissive umask such as 0000 or 0002, another local user who can reach the repository storage may modify a hook or add an executable to a writable hook directory. A later Git operation can execute that file as the Gitea service account.
영향 받는 제품 제품 1개
-
Gitea
Gitea
영향 받는 버전
- 1.27.2 이하
해결 버전
해결된 버전 정보가 없습니다.
참고 자료 5건
- blog.gitea.com https://blog.gitea.com/release-of-1.27.3/ (새 창)
- github.com https://github.com/go-gitea/gitea/pull/39008 (새 창)
- github.com https://github.com/go-gitea/gitea/pull/39016 (새 창)
- github.com https://github.com/go-gitea/gitea/releases/tag/v1.27.3 (새 창)
- github.com https://github.com/go-gitea/gitea/security/advisories/GHSA-pq8x-xpgp-rvmh (새 창)