CVE-2026-97208GHSA-8hhh-mqpg-jpxc
Gitea push mirror API bypass of DISABLE_NEW_PUSH policy
Gitea Gitea
CVSS
4.9MediumExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.26%Chance of exploitation activity in the next 30 days, higher than 16% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 28.1.0gitea.dev, goGitHub
go get gitea.dev@v28.1.0
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
The Gitea API endpoint for creating push mirrors (POST /api/v1/repos/{owner}/{repo}/push_mirrors) checked only whether mirroring was enabled and not the [mirror] DISABLE_NEW_PUSH setting that the web interface enforces. A repository administrator could therefore create new push mirrors on instances where the site administrator had disabled them. A push mirror pushes all refs of the repository to a remote chosen by the caller, on each commit or on a schedule.
Text from CVE List
Affected versions 2
- Giteaaffected: all versions through 28.0.0CVE List
- gitea.dev, go<= 28.0.0GitHub
References 5
- github.com/go-gitea/gitea/pull/39501Fixvia CVE List
- github.com/go-gitea/gitea/pull/39507Fixvia CVE List
- github.com/go-gitea/gitea/releases/tag/v28.1.0Fixvia CVE List
- github.com/go-gitea/gitea/security/advisories/GHSA-8hhh-mqpg-jpxcAdvisoryvia CVE List
- blog.gitea.com/release-of-28.1.0/Referencevia CVE List