CVE-2026-70406 json
Gitea private comparison disclosure with public-only tokens
published last mo. modified 28d ago also EUVD-2026-101096 , GHSA-m78w-jjjx-gp8r
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository go-gitea/gitea. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 28%
- public exploits
- 0
- none known
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.
Patch / fix
- github.com/go-gitea/gitea#39006 pull request
- github.com/go-gitea/gitea#39013 pull request
- github.com/go-gitea/gitea/releases/tag/v1.27.3 release
Is CVE-2026-70406 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 28d ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 28% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected products
- Gitea Gitea
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
-
github.com
/go-gitea/gitea/pull/39006
patch
-
github.com
/go-gitea/gitea/pull/39013
patch
-
github.com
/go-gitea/gitea/security/advisories/GHSA-m78w-jjjx-gp8r
vendor-advisory, advisory
-
blog.gitea.com
/release-of-1.27.3/
release-notes
-
github.com
/go-gitea/gitea/releases/tag/v1.27.3
release-notes
Sources
- CVE List CVE-2026-70406
- NVD CVE-2026-70406
- Maintainer advisory GHSA-m78w-jjjx-gp8r
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of go-gitea/gitea published their own advisory on GitHub. Reviewed sources take precedence over it.