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 (33.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 33rd percentile — 33.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.001
Affected products
- Gitea Open Source Git Server — versions 0
Weakness classification (CWE)
References
- 88ee5874-cf24-4952-aea0-31affedb7ff2 (vendor-advisory)
- 88ee5874-cf24-4952-aea0-31affedb7ff2 (patch)
- 88ee5874-cf24-4952-aea0-31affedb7ff2 (release-notes)
- 88ee5874-cf24-4952-aea0-31affedb7ff2 (release-notes)
Frequently asked questions
- What is CVE-2026-24059?
- CVE-2026-24059 is a medium-severity vulnerability in Gitea Open Source Git Server, classified under Improper Privilege Management. CVSS score: 6.5/10. Published 2026-08-13.
- How severe is CVE-2026-24059?
- Medium severity. CVSS v3 base score is 6.5 out of 10.