CVE-2026-116289Gitea
Token restriction bypass in Gitea Actions runner registration
Critical 9.1 No auth needed
Follow: this CVE · Gitea · Gitea We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Nov 1, 2026
- Updated
- Nov 6, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-863
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
Gitea fails to reject personal access tokens restricted to public resources (`public-only`) on the organization Actions runner registration endpoint. An attacker with a restricted token and `write:organization` permissions can register a runner that accesses private repositories, including secrets, variables, and workflow content.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 28.3.0
Update Gitea to version 28.3.0 or later to properly reject restricted tokens in runner registration.
- Apply the vendor's security update for Gitea.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- Gitea · Gitea
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.