PT-2026-63298 · Gitea+1 · Gitea+1

·

CVE-2026-58431

·

Published

2026-07-21

·

Updated

2026-08-26

CVSS v3.1

4.3

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions Gitea version 1.26.2
Description The /api/v1/teams/{id} API routes fail to correctly enforce the public-only access token restriction. A public-only token is designed to limit API access to public repositories and organizations; however, these routes may return private team repository metadata and private team activity feed entries. This occurs because the checkTokenPublicOnly middleware fails to verify organization visibility when ctx.Org.Organization is nil. Additionally, team repository handlers do not apply repository-level filtering via ctx.TokenCanAccessRepo(repo), and the team activity feed handler fails to apply opts.ApplyPublicOnly(ctx.PublicOnly) while having IncludePrivate set to true.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

DoS

Incorrect Authorization

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-58431
GHSA-H56G-4QW7-2MXG
GO-2026-6059
OPENSUSE-SU-2026:21551-1
SUSE-SU-2026:23216-1
SUSE-SU-2026:23227-1

Affected Products

Gitea
Red Os