Skip to content
Heist/ feed
Unrated

Gitea organization repository creation token scope bypass

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-70396

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-70396

Gitea

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "Gitea",
    "product": "Gitea",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "versionType": "semver",
        "lessThanOrEqual": "1.27.2"
      }
    ],
    "packageName": "code.gitea.io/gitea",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-70396

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#34728 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement