{"id":"CVE-2026-70400","revision":"61983f87c61f4c4ab3e9d12623803e13","records":[{"revision":"61983f87c61f4c4ab3e9d12623803e13","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-70400","aliases":[],"title":"Gitea private migration creation with public-only tokens","description":"Gitea's repository migration API accepts a public-only token when the request specifies creation of a private repository. A delegated token intended to operate only on public resources can create a private repository and migration task under the authorizing account or an organization where that user has the necessary permissions. The ordinary private repository-creation route rejects the same token, but the migration path omits that restriction.","state":0,"publishedAt":"2026-10-14T14:36:41.612+00:00","modifiedAt":"2026-10-14T15:03:18.068+00:00","affected":[{"ecosystem":"Vendor product","name":"code.gitea.io/gitea","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Gitea\",\n                    \"product\": \"Gitea\",\n                    \"packageName\": \"code.gitea.io/gitea\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"1.27.2\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://github.com/go-gitea/gitea/security/advisories/GHSA-x58h-3mx5-q44r","https://blog.gitea.com/release-of-1.27.3/","https://github.com/go-gitea/gitea/pull/39007","https://github.com/go-gitea/gitea/pull/39014","https://github.com/go-gitea/gitea/releases/tag/v1.27.3"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-70400","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-70400","identifiers":["CVE-2026-70400"]},"retained":false,"historicalAffected":[]}],"coverage":[]}