{"id":"CVE-2026-70406","aliases":["CVE-2026-70406"],"related":[],"kind":"vulnerability","state":"published","title":"Gitea private comparison disclosure with public-only tokens","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-14T14:36:53.729Z","modified":"2026-10-14T16:17:52.077Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"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:H/I:N/A:N","score":6.5,"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-m78w-jjjx-gp8r","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/39006","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/pull/39013","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/qw3rtyou","https://github.com/bircni","https://github.com/ohxorud-dev"],"assigner":"Gitea","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-14T14:54:29.357Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-70406","url":"https://www.cve.org/CVERecord?id=CVE-2026-70406","licence":"CVE Terms of Use","modified":"2026-10-14T15:03:17.796Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-70406","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70406","licence":"Public domain","modified":"2026-10-14T16:17:52.077Z"}],"updatedAt":"2026-11-25T22:59:44.673Z","epss":{"score":0.00341,"percentile":0.29643,"date":"2026-12-01T12:00:22.000Z"}}