gitea.dev
Affected
- introduced
0, fixed1.27.0(semver)
Fixed versions
1.27.0
Fix
- Fixed version
1.27.0go get [email protected]
Advisory
Also known as: CVE-2026-58417, GO-2026-6063
Gitea: REST API exposes organization membership of private organizations to public
Summary
The endpoint "/orgs/{org}/public_members/{username}" + GET exposes organization membership of public members in a private organization.
PoC
curl -X 'GET' \
'http://localhost:4700/api/v1/orgs/user1org/public_members/user1' \
-H 'accept: application/json' \
-H 'authorization: token <user2-token>'
Impact
The vulnerability discloses organization membership. An information that is not accessible via the web app (the organization is hidden, and therefore, the organization membership on the user's profile page is also hidden).
Medium Basis: The source's own band: MODERATE
0, fixed 1.27.0 (semver)1.27.0
1.27.0go get [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0