{"schema":"threatline.record/2","record":{"id":"CVE-2026-70396","aliases":["GHSA-hxhc-246f-rvqc"],"summary":"Gitea organization repository creation token scope bypass","details":"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.","categories":["Unclassified"],"product":"Gitea","vendor":"Gitea","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-70396","source_modified_at":"2026-10-18T13:31:06.460Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Gitea","vendor":"Gitea","versions":[{"lessThanOrEqual":"1.27.2","status":"affected","version":"0","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"GitHub Advisory Database","source_url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-hxhc-246f-rvqc","source_modified_at":"2026-08-29T19:16:29Z","fetched_at":"2026-10-23T19:00:29.328130Z","package":{"ecosystem":"other","name":"code.gitea.io/gitea"},"range":"<= 1.27.2"}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-hxhc-246f-rvqc","source_modified_at":"2026-08-29T19:16:29Z","fetched_at":"2026-10-23T19:00:29.328130Z","package":{"ecosystem":"other","name":"code.gitea.io/gitea"},"version":"1.27.3"}],"cvss":5.4,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00404,"percentile":0.33544,"score_date":"2026-10-23"},"published_at":"2026-10-14T14:36:36.550Z","modified_at":"2026-10-18T13:31:06.460Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-70396","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-18T13:31:06.460Z"},{"source":"GitHub Advisory Database","url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-hxhc-246f-rvqc","fetched_at":"2026-10-23T19:00:29.328130Z","source_modified_at":"2026-08-29T19:16:29Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-70396","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","GitHub Advisory Database","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-hxhc-246f-rvqc","tags":["vendor-advisory"]},{"source":"CVE List","url":"https://blog.gitea.com/release-of-1.27.3/","tags":["release-notes"]},{"source":"CVE List","url":"https://github.com/go-gitea/gitea/pull/39007","tags":["patch"]},{"source":"CVE List","url":"https://github.com/go-gitea/gitea/pull/39014","tags":["patch"]},{"source":"CVE List","url":"https://github.com/go-gitea/gitea/releases/tag/v1.27.3","tags":["release-notes"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CISA ADP","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-18T13:30:49.756117Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-18T13:31:06.460Z","content_hash":"fc779fa8800c49ca0eae23018a46bf6ae3bea8c1edda9166d8f2e507f4f2ac9d"}}
