Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://blog.gitea.com/release-of-1.25.5/
- https://github.com/go-gitea/gitea/pull/36801
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5
- https://github.com/go-gitea/gitea/security/advisories/GHSA-v43r-86x9-8523
FAQ
What is CVE-2026-24059?
CVE-2026-24059 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 ...
How severe is CVE-2026-24059?
CVE-2026-24059 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-24059?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.