Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-24059: CWE-269 in Gitea Gitea Open Source Git Server

0
High
VulnerabilityCVE-2026-24059cvecve-2026-24059cwe-269
Published: 08/13/2026 (08/13/2026, 16:48:52 UTC)
Source: CVE Database V5
Vendor/Project: Gitea
Product: Gitea Open Source Git Server

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/13/2026, 17:29:42 UTC

Technical Analysis

The vulnerability arises because the API scope middleware treats the GET request to the runner registration token endpoint as read-only, but the endpoint actually creates a new token if none exists. This mismatch allows an attacker who has obtained a read:user-scoped token to mint a registration token and register a malicious GitHub Actions runner. This runner can then execute workflows with elevated privileges, potentially exposing sensitive repository secrets and source code. The issue is classified under CWE-269 (Improper Privilege Management). No patch or official remediation has been indicated in the available data.

Potential Impact

An attacker with a leaked read:user-scoped token can escalate privileges by generating a runner registration token and registering a malicious Actions runner. This runner can execute workflow jobs with access to sensitive repository secrets and source code, potentially leading to unauthorized code execution and data exposure within the affected repositories.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict exposure of read:user-scoped tokens and monitor for unauthorized runner registrations. Avoid leaking tokens with read:user scope and consider limiting token permissions as a precaution.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Gitea
Date Reserved
2026-03-03T03:25:28.686Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a7dfaeebf8831d53980ede6

Added to database: 08/13/2026, 17:12:14 UTC

Last enriched: 08/13/2026, 17:29:42 UTC

Last updated: 08/13/2026, 19:38:31 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses