CVE-2026-70400

medium

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.

References

https://github.com/go-gitea/gitea/security/advisories/GHSA-x58h-3mx5-q44r

https://github.com/go-gitea/gitea/releases/tag/v1.27.3

https://github.com/go-gitea/gitea/pull/39014

https://github.com/go-gitea/gitea/pull/39007

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-101094

https://blog.gitea.com/release-of-1.27.3/

Details

Source: Mitre, NVD

Published: 2026-10-14

Updated: 2026-10-14

Risk Information

CVSS v2

Base Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 5.4

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Severity: Medium

EPSS

EPSS: 0.0038