Skip to main content
EPSS 0.4%top 67%

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

0
Medium
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

CVE-2026-24059 is a vulnerability in Gitea Open Source Git Server where a GET API endpoint that should be read-only actually creates a new runner registration token if none exists. This occurs because the API scope middleware incorrectly treats the GET request as read-only. An attacker with a leaked read:user-scoped token can exploit this to generate a registration token and register a malicious Actions runner, which can then execute workflow jobs with access to repository secrets and source code.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected software

Gitea

Gitea Open Source Git Server

Affected versions
>=0 <1.25.5

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/21/2026, 13:33:48 UTC

Technical Analysis

The vulnerability exists in the GET /api/v1/user/actions/runners/registration-token endpoint and its owner- and repository-level equivalents in Gitea. These endpoints create a new runner registration token if none exists, but the API scope middleware mistakenly classifies the GET request as read-only. This allows an attacker possessing a leaked read:user-scoped token to mint a registration token and register a malicious Actions runner. The malicious runner can execute workflow jobs with access to sensitive repository secrets and source code, potentially leading to unauthorized data exposure or manipulation.

Potential Impact

An attacker with a leaked read:user-scoped token can create a malicious Actions runner that executes workflow jobs with access to repository secrets and source code. This can lead to unauthorized access to sensitive information and potential compromise of the repository's integrity. The vulnerability does not require user interaction and has a network attack vector with low attack complexity and no privileges required beyond the leaked token. The confidentiality impact is high, while integrity and availability impacts are not affected.

Mitigation Recommendations

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

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
State
PUBLISHED

Threat ID: 6a7dfaeebf8831d53980ede6

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

Last enriched: 08/21/2026, 13:33:48 UTC

Last updated: 09/25/2026, 13:47:44 UTC

Views: 41

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