{"id":"CVE-2026-104633","title":"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","summary":"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 indefi…","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-400","CWE-835"],"vendor":"gitea","product":"gitea","affected":["gitea < 28.1.0"],"patched":["gitea 28.1.0"],"published":"2026-10-06","updated":"2026-10-13","sourceUpdated":"2026-10-13T14:38:56.493","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-104633","references":[{"url":"https://blog.gitea.com/release-of-28.1.0/","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/pull/39501","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/pull/39507","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.1.0","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-jj5r-9rpc-8h6h","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"}],"tags":["nvd","cve.org"],"epss":0.00397,"epssPercentile":0.33763,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-07T15:51:08.820853Z"},"ingestedAt":"2026-10-06T22:23:15.964Z","slug":"CVE-2026-104633","body":"## Overview\n\nWhen 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.\n\n## Affected\n\n- `gitea < 28.1.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `gitea 28.1.0`","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[{"seq":217615,"id":"CVE-2026-104633","ts":1791391162890,"field":"cvss","old":null,"new":"6.5"},{"seq":217614,"id":"CVE-2026-104633","ts":1791391162890,"field":"severity","old":"none","new":"medium"}]}