Privilege escalation in Gitea Open Source Git Server
CVE-2026-24059
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.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.004, 36.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Gitea Open Source Git Server — versions 0
Weakness classification (CWE)
References
- GitHub Security Advisory (vendor-advisory)
- GitHub Pull Request #36801 (patch)
- Gitea v1.25.5 Release (release-notes)
- Gitea v1.25.5 Release Blog Post (release-notes)