Gitea push mirror API bypass of DISABLE_NEW_PUSH policy
Summary
| CVE | CVE-2026-97208 |
|---|---|
| State | PUBLISHED |
| Assigner | Gitea |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-06 22:17:07 UTC |
| Updated | 2026-10-13 17:56:32 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 4.9 MEDIUM from ADP
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
EPSS: 0.002650000 probability, percentile 0.170920000 (date 2026-10-13)
Problem Types: CWE-863 | CWE-863 CWE-863: Incorrect Authorization
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 4.9 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 4.9 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
HighUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/go-gitea/gitea/pull/39501 | 88ee5874-cf24-4952-aea0-31affedb7ff2 | github.com | Patch, Issue Tracking |
| github.com/go-gitea/gitea/releases/tag/v28.1.0 | 88ee5874-cf24-4952-aea0-31affedb7ff2 | github.com | Release Notes |
| github.com/go-gitea/gitea/pull/39507 | 88ee5874-cf24-4952-aea0-31affedb7ff2 | github.com | Patch, Issue Tracking |
| github.com/go-gitea/gitea/security/advisories/GHSA-8hhh-mqpg-jpxc | 88ee5874-cf24-4952-aea0-31affedb7ff2 | github.com | Vendor Advisory |
| blog.gitea.com/release-of-28.1.0 | 88ee5874-cf24-4952-aea0-31affedb7ff2 | blog.gitea.com | Release Notes |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: https://github.com/tao0845 (en)
CNA: https://github.com/silverwind (en)
CNA: https://github.com/bircni (en)
There are currently no legacy QID mappings associated with this CVE.