CVE-2026-24059

published 13 Aug 2026 · updated 14 Aug 2026

Gitea runner registration-token GET endpoint performs a write under a read-only token scope

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Open Source Git Server 1.25.5.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GiteaOpen Source Git Server<1.25.51.25.5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Gitea, strongest first

10.0CriticalCISA KEVPublic exploit

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-24059 severity on Zeptric[![CVE-2026-24059](https://zeptric.io/badge/cve/CVE-2026-24059.svg)](https://zeptric.io/cve/CVE-2026-24059)