CVE-2026-125423
High 8.8No known exploitationFix status unknownTitle not yet published
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 23% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-59, CWE-362
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
No affected products documented yet.
Timeline
- No dated events documented yet.
Vendor guidance and references
- https://blog.gitea.com/release-of-28.4.0/ (opens in a new tab)
- https://github.com/go-gitea/gitea/pull/40376 (opens in a new tab)
- https://github.com/go-gitea/gitea/pull/40383 (opens in a new tab)
- https://github.com/go-gitea/gitea/releases/tag/v28.4.0 (opens in a new tab)
- https://github.com/go-gitea/gitea/security/advisories/GHSA-6m4f-m9vc-7946 (opens in a new tab)