Technical impact
GET /api/v1/users/{username}/orgs/{org}/permissions returns the named user's role in an organization after checking only that the organization is visible to the caller. Because any authenticated user can call this endpoint, a signed‑in user can learn whether another user is an owner, admin, or member of a public or limited organization, even if that user has chosen to conceal their membership. This flaw is a CWE‑200 Information Exposure vulnerability that reveals private organizational structure but does not allow privilege escalation or code execution.
Affected Systems
The vulnerability exists in Gitea Gitea versions that expose the legacy permissions API before the 28.4.0 release. All earlier releases of Gitea are affected until the patch added in 28.4.0 that limits role disclosure to the user themselves, members of the organization, and site administrators.
Risk and Exploitability
Only a signed‑in user can exploit the flaw by making API requests; no additional authentication or privileges are required beyond being logged in. The vulnerability does not provide privilege escalation, code execution, or denial of service. No CVSS score has been published, the EPSS score is not available, and the vulnerability has not been listed in the CISA KEV catalog. Consequently, the exploitation risk is limited to the privacy impact for users whose membership status may be hidden.