PT-2026-50135
CVE-2026-25714
·
Published
2026-06-16
·
Updated
2026-10-25
Description by
CVSS 3.1
4.3
MediumMetricsAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions
Gitea (affected versions not specified)
Description
An issue exists in the token public-only scope enforcement where a public-only scoped API token can access private organization data. This occurs due to two flaws: the endpoint '/user/orgs' is missing the
checkTokenPublicOnly() validation, and the checkTokenPublicOnly() function uses a switch-case logic that only evaluates the first matching category, causing the user visibility check to be skipped for routes involving both user and organization categories.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾