Skip to content
Heist/ feed
Unrated

Gitea private migration creation with public-only tokens

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-70400

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-70400

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-70400

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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