CVE-2026-24059
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 < 1.25.5 | affected |
Weaknesses
- CWE-269: CWE-269
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-v43r-86x9-8523
- https://github.com/go-gitea/gitea/pull/36801
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5
- https://blog.gitea.com/release-of-1.25.5/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.