CVE-2026-70396

Medium

Description

Gitea's organization repository-creation API requires write:organization but omits the write:repository token scope enforced by other repository-creation routes. A personal access token or OAuth application token without repository-write scope can therefore create organization-owned repositories if the authorizing user has permission to do so. This bypasses the token's delegated scope boundary while remaining subject to the user's organization permissions.

SeverityMedium
CVSS5.4
Exploit probability—
ProductGitea
PublishedOct 14, 2026
First seenOct 14, 2026

How to fix

Affected products

ProductAffected versionsFixed in
Gitea Giteav ≤ 1.27.2—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.