CVE-2026-116289 Gitea public-only token bypass through Actions runner registration
CriticalCVSS 9.1
EPSS 0.28%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Gitea did not reject personal access tokens restricted to public resources (public-only) on the organization Actions runner registration-token endpoint, and the runner registered with the resulting token was not limited to public repositories. Holding only such a token with write:organization that belongs to an owner of a public organization, an attacker could register an organization-level runner and receive jobs of the organization's private repositories that have Actions enabled, including the workflow content, Actions secrets and variables, and a task token with access to the private repository. The issue widens what the restricted token can reach; it gives nothing beyond what the owner's full account can already do.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea | < 28.3.0 | 28.3.0 |
References
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2564536 issue-tracking
- www.cve.org
- nvd.nist.gov
- Gitea 28.3.0 release announcement release-notes
- Fix: go-gitea/gitea pull request #39690 patch
- Fix backport to release/v28: go-gitea/gitea pull request #39853 patch
- go-gitea/gitea v28.3.0 release release-notes
- GitHub Security Advisory GHSA-qcgm-ggp8-22qc vendor-advisory