{"id":"CVE-2026-70396","revision":"8f2dacaf533f4d4e9781e092abfcf65b","records":[{"revision":"8f2dacaf533f4d4e9781e092abfcf65b","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-70396","aliases":[],"title":"Gitea organization repository creation token scope bypass","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.","state":0,"publishedAt":"2026-10-14T14:36:36.55+00:00","modifiedAt":"2026-10-18T13:31:06.46+00:00","affected":[{"ecosystem":"Vendor product","name":"code.gitea.io/gitea","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Gitea\",\n                    \"product\": \"Gitea\",\n                    \"packageName\": \"code.gitea.io/gitea\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"1.27.2\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://github.com/go-gitea/gitea/security/advisories/GHSA-hxhc-246f-rvqc","https://blog.gitea.com/release-of-1.27.3/","https://github.com/go-gitea/gitea/pull/39007","https://github.com/go-gitea/gitea/pull/39014","https://github.com/go-gitea/gitea/releases/tag/v1.27.3"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-70396","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-70396","identifiers":["CVE-2026-70396"]},"retained":false,"historicalAffected":[]}],"coverage":[]}