# CVE-2026-24059: Gitea runner registration-token GET endpoint performs a write under a read-only token scope

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-13 · Modified: 2026-08-14
- Record: https://cvemate.com/vulnerability/CVE-2026-24059 · JSON: https://cvemate.com/vulnerability/CVE-2026-24059/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.304%, percentile 24.914%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- gitea gitea open source git server: \< 1.25.5

## 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/>

---

Data as of 2026-12-05T18:17:18.661Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
