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.
History

Sun, 18 Oct 2026 03:30:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Wed, 14 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 14 Oct 2026 14:45:00 +0000

Type Values Removed Values Added
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.
Title Gitea private migration creation with public-only tokens
Weaknesses CWE-863
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published: 2026-10-14T14:36:41.612Z

Updated: 2026-10-14T15:03:18.068Z

Reserved: 2026-08-13T16:50:59.765Z

Link: CVE-2026-70400

cve-icon Vulnrichment

Updated: 2026-10-14T14:56:02.188Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T15:17:22.363

Modified: 2026-10-14T16:17:51.783

Link: CVE-2026-70400

cve-icon Redhat

No data.