REST API exposes organization membership of private organizations to public
cve-program · CVE-2026-58417
PublishedREST API exposes organization membership of private organizations to public
Read the publisher's advisoryeuvd · EUVD-2026-58152
PublishedREST API exposes organization membership of private organizations to public
Read the publisher's advisorynvd · CVE-2026-58417
PublishedREST API exposes organization membership of private organizations to public
Read the publisher's advisoryosv · GHSA-jr5x-6h83-wrxf
Published### Summary The endpoint "/orgs/{org}/public_members/{username}" + GET exposes organization membership of public members in a private organization. ### PoC 1. Spin up the nightly container of Gitea. 2. Perform the default installation. 3. Register a new user (let's call this user "user1"). 4. Create a new organization with "private" visibility. We will refer to this organization as "user1org". 5. Make the user "user1" inside the organization visible. 6. Log out and register a new user ("user2"). 7. Create an access token for "user2" with full access to the API. 8. Use the endpoint "/orgs/{org}/public_members/{username}" + GET with the correct username of "user1", organization name, and access token of "user2" to query whether "user1" is a member of the organization. The following curl command demonstrates the usage: curl -X 'GET' \ 'http://localhost:4700/api/v1/orgs/user1org/public_members/user1' \ -H 'accept: application/json' \ -H 'authorization: token <user2-token>' 9. You will receive status code 204, which leaks the organization membership. ### 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).
Read the publisher's advisoryosv · GO-2026-6063
PublishedGitea: REST API exposes organization membership of private organizations to public in gitea.dev
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-58417 · CVE overview and exploitation status
cve-program · CVE-2026-58417
- https://github.com/go-gitea/gitea/security/advisories/GHSA-jr5x-6h83-wrxf
- https://github.com/go-gitea/gitea/releases/tag/v1.27.0
- https://blog.gitea.com/gitea-1.27.0-is-released/
euvd · EUVD-2026-58152
- https://github.com/go-gitea/gitea/security/advisories/GHSA-jr5x-6h83-wrxf
- https://github.com/go-gitea/gitea/releases/tag/v1.27.0
- https://blog.gitea.com/gitea-1.27.0-is-released/
nvd · CVE-2026-58417
- https://blog.gitea.com/gitea-1.27.0-is-released/
- https://github.com/go-gitea/gitea/releases/tag/v1.27.0
- https://github.com/go-gitea/gitea/security/advisories/GHSA-jr5x-6h83-wrxf
osv · GHSA-jr5x-6h83-wrxf
- https://github.com/go-gitea/gitea/security/advisories/GHSA-jr5x-6h83-wrxf
- https://github.com/go-gitea/gitea/pull/38145
- https://github.com/go-gitea/gitea/commit/685b62c60fc595e3612a85f0895471876db56292
- https://github.com/go-gitea/gitea
- https://github.com/go-gitea/gitea/releases/tag/v1.27.0
osv · GO-2026-6063
Related changes
Linked by CVE identifier- REST API exposes organization membership of private organizations to public · Advisory content revised · 15 Nov 2026