Skip to main content
EPSS 0.4%top 64%

CVE-2026-24791: CWE-863 in Gitea Gitea Open Source Git Server

0
High
VulnerabilityCVE-2026-24791cvecve-2026-24791cwe-863
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

Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routes

CVSS v3.1

Score 8.1high

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

Affected software

Gitea

Gitea Open Source Git Server

Affected versions
>=1.22.3 <=1.26.1
GitHub Actionsmore threats →ai
go-gitea/gitea
pkg:github/go-gitea/gitea
Affected versions
=1.22.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

This vulnerability (CWE-863: Incorrect Authorization) affects Gitea Open Source Git Server version 1.22.3. It allows public-only tokens to bypass access controls intended to restrict private resources on the /api/v1/user self routes. This means that users with public-only tokens may gain unauthorized access to private user data or actions via the API endpoints. There is no CVSS score assigned and no official patch or remediation guidance has been published yet.

Potential Impact

The impact is unauthorized access to private user resources via the API, potentially exposing sensitive user information or allowing unauthorized actions. The exact scope and severity of the impact are not detailed in the available data.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider restricting API token permissions and monitoring for unusual API activity related to /api/v1/user endpoints.

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:50.325Z
State
PUBLISHED

Threat ID: 6a7dfaeebf8831d53980edec

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

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

Last updated: 09/27/2026, 13:47:43 UTC

Views: 58

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