NetSight
medium4.3

CVE-2026-125617

`GET /api/v1/users/{username}/orgs/{org}/permissions` only checked that the organization is visible to the caller and then returned the named user's role in it.

Impact

`GET /api/v1/users/{username}/orgs/{org}/permissions` only checked that the organization is visible to the caller and then returned the named user's role in it. Any signed-in user could learn whether another user is an owner, admin or member of a public or limited organization, including for members who conceal their membership. The roles are now only returned to the user themselves, to members of the organization and to site administrators.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: low risk of data being read.

Affected products · Gitea

ProductAffected versions
Gitea
from 1.16.0 before 28.4.0

Weakness classification

References