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.
{
"cna_assigner": "Gitea",
"cwe_ids": [
"CWE-362",
"CWE-59"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125423.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "28.4.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"original_tag": "v28.4.0",
"range": [
{
"fixed": "0b5dfdeeeaadf6350314246c5936b53cce38170c"
}
],
"source": "REFERENCES_TAG"
}
]
}