{"id":"CVE-2026-70400","published":"2026-10-14T15:17:22.363","lastModified":"2026-10-14T16:17:51.783","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.","cvssScore":5.4,"cvssSeverity":"MEDIUM","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","cwes":["CWE-863"],"vendors":[],"products":[],"references":[{"url":"https://blog.gitea.com/release-of-1.27.3/","tags":[]},{"url":"https://github.com/go-gitea/gitea/pull/39007","tags":[]},{"url":"https://github.com/go-gitea/gitea/pull/39014","tags":[]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.27.3","tags":[]},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-x58h-3mx5-q44r","tags":[]}],"exploitRefs":[{"url":"https://github.com/go-gitea/gitea/pull/39007","tags":[]},{"url":"https://github.com/go-gitea/gitea/pull/39014","tags":[]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.27.3","tags":[]},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-x58h-3mx5-q44r","tags":[]}],"hasPoc":true,"ai":null}