{"id":"CVE-2026-70396","aliases":["CVE-2026-70396"],"related":[],"kind":"vulnerability","state":"published","title":"Gitea organization repository creation token scope bypass","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 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-14T14:36:36.550Z","modified":"2026-10-18T14:16:55.260Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.27.2","status":"affected"}],"vendor":"Gitea","product":"Gitea","package":"code.gitea.io/gitea","source":"cvelist"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-hxhc-246f-rvqc","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://blog.gitea.com/release-of-1.27.3/","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/pull/39007","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/pull/39014","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.27.3","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":["https://github.com/rexpository","https://github.com/bircni","https://github.com/ybsun0215"],"assigner":"Gitea","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-18T13:30:49.756Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-70396","url":"https://www.cve.org/CVERecord?id=CVE-2026-70396","licence":"CVE Terms of Use","modified":"2026-10-18T13:31:06.460Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-70396","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70396","licence":"Public domain","modified":"2026-10-18T14:16:55.260Z"}],"updatedAt":"2026-11-25T22:59:44.673Z","epss":{"score":0.00404,"percentile":0.36784,"date":"2026-12-01T12:00:22.000Z"}}