PT-2026-63297 · Gitea+1 · Gitea+1
CVSS v3.1
4.9
Medium
| Vector | AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Gitea (affected versions not specified)
Description
A route-specific authorization failure allows a personal access token restricted to the public-only scope to retrieve private organization membership and permission details. While direct access to private organizations is blocked, the restriction is inconsistently enforced across other endpoints. This occurs because certain routes fail to apply the
checkTokenPublicOnly() function or evaluate the user context instead of the organization object, allowing private data to be returned when the token belongs to the same user.API Endpoints:
- '/api/v1/user/orgs'
- '/api/v1/users/{username}/orgs/{org}/permissions'
Vulnerable Parameters or Variables:
usernameorg
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Improper Access Control
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Gitea
Red Os