Link followingin Gitea.
Proof of concept public (GitHub).
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.
- Upgrade Gitea to 28.4.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 15 Nov 2026CVE ID reserved by Gitea.
- 15 Nov 2026Published in the CVE List.
- 16 Nov 2026First public proof of concept on GitHub.
- 16 Nov 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Gitea vulnerabilities
Same weakness: Link following
- github.com vendor-advisory
- github.com patch
- github.com patch
- blog.gitea.com release-notes
- github.com release-notes
Patchminder. CVE-2026-125423: Link following in Gitea. https://patchminder.com/cve/cve-2026-125423/ (accessed 5 December 2026).