CVE-2026-70406Gitea private comparison disclosure with public-only tokens
Updated under an hour ago ()
Does this affect you?
It affects Gitea. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 6.5 MEDIUM (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weakness (CWE)
- CWE-863
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Gitea
- NVD analysis
- Deferred
- Record last updated
- Oct 14, 2026
- First seen by InfoSec Signals
- Oct 14, 2026
Affected products
Gitea Gitea gitea:gitea (from the name) | through 1.27.2 | CNA record |
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-m78w-jjjx-gp8rvendor-advisory
- https://blog.gitea.com/release-of-1.27.3/release-notes
- https://github.com/go-gitea/gitea/pull/39006patch
- https://github.com/go-gitea/gitea/pull/39013patch
- https://github.com/go-gitea/gitea/releases/tag/v1.27.3release-notes
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.