CVE-2026-70406GHSA-m78w-jjjx-gp8r
Gitea private comparison disclosure with public-only tokens
Gitea Gitea
CVSS
6.5MediumExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.34%Chance of exploitation activity in the next 30 days, higher than 26% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
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.
Text from CVE List
Affected versions 1
- Giteaaffected: all versions through 1.27.2CVE List
References 5
- github.com/go-gitea/gitea/pull/39006Fixvia CVE List
- github.com/go-gitea/gitea/pull/39013Fixvia CVE List
- github.com/go-gitea/gitea/releases/tag/v1.27.3Fixvia CVE List
- github.com/go-gitea/gitea/security/advisories/GHSA-m78w-jjjx-gp8rAdvisoryvia CVE List
- blog.gitea.com/release-of-1.27.3/Referencevia CVE List