CVE-2026-125423 Gitea command execution through repository auto-initialization
설명
A repository created with auto-init accepted pushes before its initialization had finished, and the initial commit was built in a checkout of whatever the repository already contained. A user who is allowed to create repositories could push a crafted tree during that window so that writing the README followed a symbolic link and overwrote a server-side git hook, which runs commands as the Gitea system user. The initial commit is now built in a freshly initialized directory, and a new repository only becomes ready, and accepts pushes, once its initialization is complete.
영향 받는 제품 제품 1개
-
해결 버전 있음
Gitea
Gitea
영향 받는 버전
- 28.4.0 미만
해결 버전
- 28.4.0 이상
참고 자료 5건
- blog.gitea.com https://blog.gitea.com/release-of-28.4.0/ (새 창)
- github.com https://github.com/go-gitea/gitea/pull/40376 (새 창)
- github.com https://github.com/go-gitea/gitea/pull/40383 (새 창)
- github.com https://github.com/go-gitea/gitea/releases/tag/v28.4.0 (새 창)
- github.com https://github.com/go-gitea/gitea/security/advisories/GHSA-6m4f-m9vc-7946 (새 창)