What’s Vulnerable › Vulnerabilities
CVE-2026-104633: Gitea migration memory exhaustion from zero page size
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-06 · updated 2026-10-13
- Weakness: CWE-400
Description
When migrating a repository from another Gitea instance, Gitea used the page size reported in the source server's API settings to end its paginated downloads. A source that reported `max_response_items` as `0` made these loops run indefinitely and grow server memory until it was exhausted. Any user who can migrate repositories could point a migration at a server they control and cause a denial of service.
Affected products
- Gitea Open Source Git Server: before 28.1.0 — fixed in 28.1.0
How to fix
Upgrade to a fixed version: Gitea Open Source Git Server 28.1.0. Check the vendor advisory for mitigations.
References
- https://blog.gitea.com/release-of-28.1.0/
- https://github.com/go-gitea/gitea/pull/39501
- https://github.com/go-gitea/gitea/pull/39507
- https://github.com/go-gitea/gitea/releases/tag/v28.1.0
- https://github.com/go-gitea/gitea/security/advisories/GHSA-jj5r-9rpc-8h6h
Get alerted when CVE-2026-104633 or the next vulnerability affects your stack