{"id":"CVE-2026-70406","revision":"c966a6085cd948f081c6ed83afda1b3a","records":[{"revision":"c966a6085cd948f081c6ed83afda1b3a","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-70406","aliases":[],"title":"Gitea private comparison disclosure with public-only tokens","description":"Gitea's shared comparison helper omits the token repository-access check used when updating pull requests. A public-only token with read:repository scope can route a comparison or pull request creation through a public base repository and retrieve commit history and diffs from a private head repository accessible to the token owner. This bypasses the token's public-only restriction; it does not remove the account's underlying repository permission checks.","state":0,"publishedAt":"2026-10-14T14:36:53.729+00:00","modifiedAt":"2026-10-14T15:03:17.796+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-m78w-jjjx-gp8r","https://blog.gitea.com/release-of-1.27.3/","https://github.com/go-gitea/gitea/pull/39006","https://github.com/go-gitea/gitea/pull/39013","https://github.com/go-gitea/gitea/releases/tag/v1.27.3"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-70406","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-70406","identifiers":["CVE-2026-70406"]},"retained":false,"historicalAffected":[]}],"coverage":[]}