CVE-2026-125423
8.8HighPublished 15 Nov 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-59, CWE-362
What an attacker gets
Authenticated attackers can execute arbitrary commands as the Gitea system user. They need the ability to create repositories and must race the initialization process.
Root cause
A race condition allowed pushes to an uninitialized repository, enabling a symbolic link attack to overwrite server-side git hooks.
Affected versions
Gitea versions prior to 28.4.0
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to Gitea 28.4.0 or later. If you cannot upgrade immediately, restrict repository creation permissions for untrusted users.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
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.