CVE-2026-125423highCWE-362CWE-59

CVE-2026-125423: high-severity vulnerability in Gitea

Gitea command execution through repository auto-initialization

Published · Updated

E-mail alert when it lands in KEV, gets a public PoC or its score goes up.

41Vexday Risk Score

No sign of exploitation. It has a public proof of concept.

ssvc Attendcvss 8.8epss 0.3%
from disclosure to weapon1 day
Published on NVDNov 15
1st PoC+1d
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
Gitea · Gitea
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.