code.gitea.io/gitea · Gitea: Token public-only scope bypassed on Limited-visibility owners (Repository + Package categories) — residual
Affects code.gitea.io/giteaSource GCVE Database
Not known to be exploited · CVSS 9.6 Critical : upgrade to 1.27.0 as a priority.
Data as of 4 Dec 2026, 18:37 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.27.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:HExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CISA SSVC: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
CVE ID reserved
by Gitea Limited
, 36 days before disclosure
CVE published
on cve.org
, t = 0
CISA SSVC assessment
proof of concept public
, 27 hours after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CISA SSVC, the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Upgrade code.gitea.io/gitea and gitea.dev to 1.27.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gocode.gitea.io/gitea | Affected
| Fixed in
|
| Gogitea.dev | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in Gitea version 1.27.0 that corrects the visibility checks for Repository and Package categories to properly enforce the 'public-only' token scope for Limited visibility owners. Users should upgrade to version 1.27.0 or later to remediate this issue. No additional mitigation steps are required if the patch is applied.
Description
CVE-2026-56443 is a vulnerability in Gitea versions prior to 1.27.0 where the 'public-only' personal access token (PAT) scope can be bypassed for repositories and packages owned by users with Limited visibility. Despite a prior fix unifying public-only token filtering, the Repository and Package scope categories incorrectly check visibility, allowing tokens with the public-only scope to access content beyond intended anonymous reach. This affects API v1 repository endpoints, package registries, and web download endpoints, enabling unauthorized read access to limited-visibility repositories and packages.
References
- github.com/go-gitea/gitea/security/advisories/GHSA-7p4h-3gxq-x3h3 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-56443 (opens in a new tab)
- github.com/go-gitea/gitea/commit/de4b8277e9cb576f2315fb03b5ab6478b42a1d31 (opens in a new tab)
- blog.gitea.com/gitea-1.27.0-is-released (opens in a new tab)
- github.com/go-gitea/gitea (opens in a new tab)
- github.com/go-gitea/gitea/releases/tag/v1.27.0 (opens in a new tab)