CVE-2026-125423

published 15 Nov 2026 · updated 16 Nov 2026

Gitea command execution through repository auto-initialization

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Gitea 28.4.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GiteaGitea<28.4.028.4.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Gitea, strongest first

10.0CriticalCISA KEVPublic exploit

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-125423 severity on Zeptric[![CVE-2026-125423](https://zeptric.io/badge/cve/CVE-2026-125423.svg)](https://zeptric.io/cve/CVE-2026-125423)