Gitea v1.25.5 Release Blog Postrelease notes
https://blog.gitea.com/release-of-1.25.5 CVE-2026-24059
Gitea runner registration-token GET endpoint performs a write under a read-only token scope
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.
Description source: CVE List
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
Gitea Open Source Git ServerBrowse Gitea / Gitea Open Source Git ServerDefault status: unaffected | CVE List | Before 1.25.5 | affected |
References
5GitHub Pull Request #36801patch
https://github.com/go-gitea/gitea/pull/36801 Gitea v1.25.5 Releaserelease notes
https://github.com/go-gitea/gitea/releases/tag/v1.25.5 GitHub Security AdvisoryVendor advisory
https://github.com/go-gitea/gitea/security/advisories/GHSA-v43r-86x9-8523 nvd.nist.gov
https://nvd.nist.gov/vuln/detail/CVE-2026-24059