{"vuln_id":"CVE-2026-125423","aliases":["GHSA-6m4f-m9vc-7946"],"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.","published_at":"2026-11-15T21:16:54.590000Z","modified_at":"2026-11-16T23:17:14.770000Z","first_seen_at":"2026-11-21T19:15:48.945854Z","severity":"high","severity_source":"nvd","cvss_score":8.8,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-59","CWE-362"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00438,"epss_percentile":0.38806,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-125423"},"matched_alias":null,"items":[{"id":5957,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-125423: 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 repo…","summary":"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.\n\nReferences:\nhttps://blog.gitea.com/release-of-28.4.0/\nhttps://github.com/go-gitea/gitea/pull/40376\nhttps://github.com/go-gitea/gitea/pull/40383\nhttps://github.com/go-gitea/gitea/releases/tag/v28.4.0\nhttps://github.com/go-gitea/gitea/security/advisories/GHSA-6m4f-m9vc-7946","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125423","published_at":"2026-11-15T21:16:54.590000Z","updated_at":"2026-11-16T23:17:14.770000Z","fetched_at":"2026-11-21T19:15:31.481534Z","severity":"high","cvss_score":8.8,"epss":0.00438,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-125423","vuln_ids":["CVE-2026-125423","GHSA-6M4F-M9VC-7946"],"tags":["CWE-59","CWE-362"],"cluster_id":6539,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/5957","html":"https://vulnwatch.ve1ve2.com/item/5957"}}]}