# CVE-2026-70396: Gitea organization repository creation token scope bypass

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-10-14T14:36:36.550Z
- Modified: 2026-10-18T14:16:55.260Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Gitea

## 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.

(As written by CVE List.)

## Affected

- code.gitea.io/gitea: up to 1.27.2

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-hxhc-246f-rvqc> (vendor-advisory)
- <https://blog.gitea.com/release-of-1.27.3/> (release-notes)
- <https://github.com/go-gitea/gitea/pull/39007> (patch)
- <https://github.com/go-gitea/gitea/pull/39014> (patch)
- <https://github.com/go-gitea/gitea/releases/tag/v1.27.3> (release-notes)

## Sources

- CVE List: [CVE-2026-70396](https://www.cve.org/CVERecord?id=CVE-2026-70396), CVE Terms of Use, modified 2026-10-18
- NVD: [CVE-2026-70396](https://nvd.nist.gov/vuln/detail/CVE-2026-70396), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2026-70396 · Whole record: https://cve.day/CVE-2026-70396.json · Rebuilt by cve.day 2026-11-25T22:59:44.673Z
