What’s Vulnerable › Vulnerabilities

CVE-2026-104633: Gitea migration memory exhaustion from zero page size

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

How to fix

Upgrade to a fixed version: Gitea Open Source Git Server 28.1.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-104633 or the next vulnerability affects your stack