CVE-2026-125423

medium

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.

References

https://github.com/go-gitea/gitea/security/advisories/GHSA-6m4f-m9vc-7946

https://github.com/go-gitea/gitea/releases/tag/v28.4.0

https://github.com/go-gitea/gitea/pull/40383

https://github.com/go-gitea/gitea/pull/40376

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-126115

https://blog.gitea.com/release-of-28.4.0/

Details

Source: Mitre, NVD

Published: 2026-11-15

Updated: 2026-11-15

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Severity: Medium

EPSS

EPSS: 0.00129