CVE-2026-58431
Received Received - Intake

API Token Bypass in Team API Routes

Vulnerability report for CVE-2026-58431, 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 API token restriction is not enforced on team API 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 to 1.26.4 (inc)

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

This vulnerability affects Gitea versions up to 1.26.4 where public-only API tokens do not enforce restrictions properly on team API routes. The issue occurs because the /api/v1/teams/{id} routes fail to validate organization visibility when using public-only tokens, allowing access to private team repositories and activity feeds.

Detection Guidance

Check Gitea version with: curl -s http://localhost:3000/api/v1/version | grep version. If version <= 1.26.4, the system is vulnerable. Review API logs for unauthorized access attempts to /api/v1/teams/{id} routes.

Impact Analysis

This flaw enables unauthorized access to sensitive information, though it requires a valid public-only token scoped to a private organization. Attackers could view private team repositories and activity feeds, compromising confidentiality of private data.

Mitigation Strategies

Upgrade Gitea to version 1.27.0 or later immediately. Review and revoke any public-only tokens scoped to private organizations. Monitor team API routes for unusual access patterns.

Chat Assistant

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

EPSS Chart