{"id":"CVE-2026-125423","published":"2026-11-15T21:10:23Z","modified":"2026-11-16T22:48:21Z","title":"Gitea command execution through repository auto-initialization","vendor":"Gitea","product":"Gitea","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00438,"percentile":0.38795,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-6m4f-m9vc-7946","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/40376","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/pull/40383","tags":["patch"]},{"url":"https://blog.gitea.com/release-of-28.4.0/","tags":["release-notes"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.4.0","tags":["release-notes"]}],"priority":{"score":18.9,"factors":[{"name":"EPSS percentile","points":7.76},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-16","earliestUrl":"https://github.com/grigorovichvlad/CVE-2026-125423","repos":[{"name":"grigorovichvlad/CVE-2026-125423","url":"https://github.com/grigorovichvlad/CVE-2026-125423","stars":0,"created":"2026-11-16"}]},"first":{"date":"2026-11-16","source":"PoC-in-GitHub","url":"https://github.com/grigorovichvlad/CVE-2026-125423"},"provenance":"source"},"vendorSlug":"gitea","affectedVersions":[{"vendor":"Gitea","product":"Gitea","versions":["< 28.4.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-16T22:48:09.493007Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-126115","exploited":false,"provenance":"source"}}