PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-70400 Gitea CVE debrief

Gitea's repository migration API allows creation of a private repository using a public-only token when a private repository migration is requested. This issue affects Gitea versions up to 1.27.2. The vulnerability enables unauthorized creation of private repositories, potentially exposing Gitea instances to security risks. Gitea administrators and users with repository creation permissions should assess exposure to public migration tokens and verify the impact of potential unauthorized private repository creation. The issue requires verification from official sources, and remediation involves updating Gitea to version 1.27.3 or later. Defenders should prioritize verifying exposure

Vendor
Gitea
Product
Unknown
CVSS
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-14
Original CVE updated
2026-10-14
Advisory published
2026-10-14
Advisory updated
2026-10-14

Who should care

Gitea administrators and users with repository creation permissions should assess exposure to public migration tokens and verify the impact of potential unauthorized private repository creation.

Why it matters

Defenders should care about CVE-2026-70400 because it allows unauthorized creation of private repositories using public-only tokens, potentially exposing Gitea instances to security risks. Gitea administrators and users with repository creation permissions should assess exposure and verify the impact of potential unauthorized private repository creation. The issue requires verification from official sources, and remediation involves updating Gitea to version 1.27.3 or later.

  • Potential unauthorized creation of private repositories
  • Possible exposure of Gitea instances to public migration tokens
  • Need for verification of Gitea instance configuration and token usage
  • Potential impact on repository security and access control

Technical summary

The Gitea repository migration API does not properly validate tokens when creating a private repository migration, allowing a public-only token to create a private repository and migration task. This issue affects Gitea versions up to 1.27.2 and enables unauthorized creation of private repositories, potentially exposing Gitea instances to security risks. The vulnerability requires verification from official sources, and remediation involves updating Gitea to version 1.27.3 or later. The CVE Program record and NIST NVD detail page offer additional

Defensive priority

Defenders should prioritize verifying exposure of Gitea instances to public migration tokens and assess the impact of potential unauthorized private repository creation.

Recommended defensive actions

  • Verify Gitea instance exposure to public migration tokens
  • Assess the impact of potential unauthorized private repository creation
  • Update Gitea to version 1.27.3 or later
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and source item provide details on the vulnerability, including its description and affected versions. The issue is related to Gitea's repository migration API, which does not properly validate tokens when creating a private repository migration. This allows a public-only token to create a private repository and migration task. The CVE Program record and NIST NVD detail page offer additional information on the vulnerability. The vendor advisory and release notes for Gitea 1.27.3 provide guidance on remediation. Evidence

Sources and references

Verified primary and authoritative sources

  • CVE-2026-70400 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-70400

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-70400 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-70400

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Gitea private migration creation with public-only tokens

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/70xxx/CVE-2026-70400.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

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

    Supplemental source - vendor-advisory

  • Source reference

    Unverified legacy reference

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

    Supplemental source - release-notes

  • Source reference

    Unverified legacy reference

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

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

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

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

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

    Supplemental source - release-notes

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.