{"id":"CVE-2026-70396","title":"Gitea's organization repository-creation API requires write:organization but omits the write:repository token scope enforced by other repository-creation routes","summary":"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…","severity":"medium","cwe":["CWE-863"],"published":"2026-10-14","updated":"2026-10-14","sourceUpdated":"2026-10-14T16:04:39.483","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-70396","references":[{"url":"https://blog.gitea.com/release-of-1.27.3/","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/pull/39007","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/pull/39014","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.27.3","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-hxhc-246f-rvqc","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"}],"tags":["nvd","cve.org"],"ingestedAt":"2026-10-14T15:36:14.026Z","vendor":"Gitea","product":"code.gitea.io/gitea","affected":["code.gitea.io/gitea <= 1.27.2"],"epss":0.00404,"epssPercentile":0.34496,"cvss":5.4,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-18T13:30:49.756117Z"},"cvssSource":"adp","slug":"CVE-2026-70396","body":"## Overview\n\nGitea'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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":29.7,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[{"seq":224434,"id":"CVE-2026-70396","ts":1792331053750,"field":"cvss","old":null,"new":"5.4"},{"seq":224433,"id":"CVE-2026-70396","ts":1792331053750,"field":"severity","old":"none","new":"medium"}]}