Security Flaw in Gitea Affecting Repository Initialization Process
CVE-2026-125423

Currently unrated

Key Information:

Vendor

Gitea

Status
Vendor
CVE Published:
15 November 2026

What is CVE-2026-125423?

A vulnerability in Gitea allows users to exploit the repository creation process. When a repository is initialized, it erroneously accepts pushes before the initialization completes. This could be exploited by an authorized user to push a specially crafted commit that follows a symbolic link, potentially overwriting server-side Git hooks. As a result, malicious commands could execute with the permissions of the Gitea system user. It highlights a crucial security flaw in how Gitea handles repository initialization and commit acceptance during that moment, necessitating prompt action for affected installations.

Affected Version(s)

Gitea 0 < 28.4.0

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

https://github.com/grigorovichvlad
https://github.com/bircni
https://github.com/lunny
.