CVE-2026-24791
Received Received - Intake

Authentication Bypass in API User Self Routes via Public Tokens

Vulnerability report for CVE-2026-24791, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-13

Last updated on: 2026-08-13

Assigner: Gitea Limited

Description

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

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-13
Last Modified
2026-08-13
Generated
2026-08-13
AI Q&A
2026-08-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
go-gitea gitea From 1.22.3 (inc) to 1.26.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-24791 is a vulnerability in Gitea where public-only tokens can bypass restrictions and access private resources through self routes under /api/v1/user. Public-only tokens should only access public data but can retrieve or modify private information like SSH keys, emails, or repositories due to insufficient enforcement.

Detection Guidance

To detect this vulnerability, check if your Gitea instance is running a vulnerable version (1.22.3 through 1.26.1). Run 'gitea --version' to verify the version. Inspect API logs for unauthorized access attempts to /api/v1/user endpoints with public-only tokens.

Impact Analysis

This vulnerability allows unauthorized access to private data such as SSH keys, email addresses, OAuth applications, Actions secrets, and repositories. Attackers could exploit leaked tokens to add credentials, modify settings, or enumerate private repositories, potentially leading to data breaches or account compromise.

Mitigation Strategies

Upgrade Gitea to version 1.26.2 or later immediately. This version includes fixes for permission-related issues and token scope enforcement. Gitea Cloud instances will auto-upgrade during maintenance.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-24791. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart