CVE-2026-24059
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.
How to fix
- Gitea Gitea Open Source Git Server1.25.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea Gitea Open Source Git Server | v < 1.25.5 | 1.25.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.