CVE-2026-97208
4.9medium
Gitea push mirror API bypass of DISABLE_NEW_PUSH policy
- Severity
- 4.9medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.46% (higher than 32% of CVEs)
- Published
- Last changed
- Assigned by
- Gitea
- Also known as
- BIT-GITEA-2026-97208GHSA-8hhh-mqpg-jpxc
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gitea.dev | up to 28.0.0 | CVE List |
| gitea gitea | before 28.1.0 | NVD |
| gitea (Bitnami) | before 28.1.0 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://github.com/go-gitea/gitea/security/advisories/GHSA-8hhh-mqpg-jpxc | advisory, vendor-advisory | |
| https://github.com/go-gitea/gitea/pull/39501 | fix, issue-tracking, patch | |
| https://github.com/go-gitea/gitea/pull/39507 | fix, issue-tracking, patch | |
| https://blog.gitea.com/release-of-28.1.0/ | article, release-notes | |
| https://github.com/go-gitea/gitea/releases/tag/v28.1.0 | article, release-notes | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-97208 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-97208 changed 2026-10-07 | CVE Terms of Use |
| NVD | CVE-2026-97208 changed 2026-10-13 | Public domain |
| Bitnami Vulnerability Database | BIT-GITEA-2026-97208 changed 2026-10-14 | Apache-2.0 |