CVE-2026-24059
published medium CVSS 3.1 · 6.5Gitea runner registration-token GET endpoint performs a write under a read-only token scope
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | Gitea Open Source Git Server0 to < 1.25.5 · Other versions: unaffected | Affected | Not stated | Gitea |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 to < 1.25.5 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-269
References
4- Gitea v1.25.5 Release Blog Post https://blog.gitea.com/release-of-1.25.5/
- GitHub Pull Request #36801 https://github.com/go-gitea/gitea/pull/36801
- Gitea v1.25.5 Release https://github.com/go-gitea/gitea/releases/tag/v1.25.5
- GitHub Security Advisory https://github.com/go-gitea/gitea/security/advisories/GHSA-v43r-86x9-8523
Provider assertions
2Gitea · cna
Gitea runner registration-token GET endpoint performs a write under a read-only token scope
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 45505b2474080078e9bfcc296bab2a5d08c44fbb7e80c8edb9e26eaf56501a0a
- Ingested
- 23 Sep 2026, 09:06:19 UTC
- Source record
- Official CVE record