PatchSiren cyber security CVE debrief
CVE-2026-70396 Gitea CVE debrief
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 vulnerability allows unauthorized repository creation, and defenders should verify token scopes and user permissions. The CVE record and source item provide details on the token scope bypass vulnerability in Gitea's organization repository creation API.
- 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 organization repository creation enabled should assess exposure and verify token scopes. Defenders should prioritize verifying Gitea deployments, especially those with organization repository creation enabled, and ensure tokens are properly scoped.
Why it matters
The CVE-2026-70396 vulnerability in Gitea's organization repository creation API allows unauthorized repository creation, requiring defenders to verify token scopes and user permissions.
- Repository creation without proper token scope can lead to unauthorized repository creation
- Defenders need to verify token scopes to prevent exploitation
- Gitea deployments with organization repository creation enabled require immediate attention
Technical summary
The vulnerability allows creation of organization-owned repositories using a personal access token or OAuth application token without repository-write scope, 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. Defenders should prioritize verifying Gitea deployments, especially those with organization repository creation enabled, and ensure tokens are properly scoped. The CVE record and source item provide details on the token scope bypass vulnerability in Gitea's organization repository creation API.
Defensive priority
Defenders should prioritize verifying Gitea deployments, especially those with organization repository creation enabled, and ensure tokens are properly scoped.
Recommended defensive actions
- Verify Gitea deployments for organization repository creation enabled
- Ensure tokens are properly scoped for repository creation
- Review user permissions and access controls
- 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
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
Evidence notes
The CVE record and source item provide details on the token scope bypass vulnerability in Gitea's organization repository creation API. The vulnerability allows creation of organization-owned repositories using a personal access token or OAuth application token without repository-write scope, if the authorizing user has permission to do so. Defenders should verify token scopes to prevent exploitation. Gitea deployments with organization repository creation enabled require immediate attention.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-70396 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-70396
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-70396 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-70396
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Gitea organization repository creation token scope bypass
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/70xxx/CVE-2026-70396.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/security/advisories/GHSA-hxhc-246f-rvqc
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.