6.5
Medium
CVE-2026-24059 The GET /api/v1/user/actions/runners/registration-token endpoint (and its owner- and repository-level equivalents)…
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 and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea Open Source Git Server 1.25 | earliest → < 1.25.5 | 1.25.5 |
References
- GitHub Security Advisory github.com
- GitHub Pull Request #36801 github.com
- Gitea v1.25.5 Release github.com
- Gitea v1.25.5 Release Blog Post blog.gitea.com
Timeline
- Published
- Last modified
Other CVEs of Gitea Open Source Git Server
The 97 CVEs of Gitea Open Source Git Server →
CVE-2026-24791
Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routes
8.1
High
CVE-2026-59765
SSRF via Migration Asset Downloads Bypasses hostmatcher — Reads Internal Files and Cloud Metadata
7.5
High
CVE-2026-59763
Unbounded Arch package file metadata can cause resource amplification in Gitea package uploads
4.3
Medium
CVE-2026-58511
Webhook Authorization Header Returned in Plaintext via API
2.7
Low