CVE-2026-104633 Gitea migration memory exhaustion from zero page size
An attacker can cause a denial of service by migrating a repository from a malicious server that reports a zero page size, exhausting server memory.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-104633?
CVE-2026-104633 is a medium-severity denial of service vulnerability in Gitea Gitea, published on 6 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-104633?
1 open source package ship an affected version, including gitea. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gitea Bitnami | All versions | 28.1.0 |
Products include Gitea Gitea.
How do I fix CVE-2026-104633?
Upgrade gitea to 28.1.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-104633 being exploited?
There is no known exploitation of CVE-2026-104633 in the wild and no public exploit code.
Other vulnerabilities in Gitea Gitea
Sources
Also known as BIT-gitea-2026-104633, GHSA-jj5r-9rpc-8h6h, MINI-3g88-h77w-4vgf, MINI-57xj-5qch-7pfc.