Vulnerability · Published Aug 13, 2026 · Assigned by Gitea
CVE-2026-24059Gitea runner registration-token GET endpoint performs a write under a read-only token scope
Medium 6.5
In plain English
A medium-severity privilege mismanagement in Gitea Open Source Git Server from Gitea. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities).
Official description
The GET /api/v1/user/actions/runners/registration-token endpoint (and its owner- and repository-level equivalents) creates a new runner registration token if none exists, yet the API scope middleware classifies it as read-only because it is a GET request. A holder of a leaked read:user-scoped token can therefore mint a registration token and register a malicious Actions runner that executes workflow jobs with access to repository secrets and source code.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 – before 1.25.5 |
Weakness: CWE-269 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- GitHub Security Advisory vendor-advisory
- GitHub Pull Request #36801 patch
- Gitea v1.25.5 Release release-notes
- Gitea v1.25.5 Release Blog Post release-notes