Private org member list leaked via /members API endpoint — incomplete fix for PR #38145
cve-program · CVE-2026-58427
PublishedPrivate org member list leaked via /members API endpoint — incomplete fix for PR #38145
Read the publisher's advisoryeuvd · EUVD-2026-58155
PublishedPrivate org member list leaked via /members API endpoint — incomplete fix for PR #38145
Read the publisher's advisorynvd · CVE-2026-58427
PublishedPrivate org member list leaked via /members API endpoint — incomplete fix for PR #38145
Read the publisher's advisoryosv · GHSA-prr9-9mp4-5gp2
Published## Summary PR #38145 fixed ListPublicMembers and IsPublicMember but missed ListMembers. Any authenticated user can enumerate ALL members (not just public ones) of a private organization. ## Affected Versions <= v1.26.4 (latest) and main branch ## Root Cause routers/api/v1/org/member.go — ListMembers(): // Missing check: if !organization.HasOrgOrUserVisible(ctx, ctx.Org.Organization.AsUser(), ctx.Doer) { ctx.APIErrorNotFound() return } ## Proof of Concept # Setup: privateorg (private), alice = member, bob = outsider # Bob lists ALL members of private org curl -s "http://gitea/api/v1/orgs/privateorg/members" \ -H "Authorization: token BOB_TOKEN" # Result: HTTP 200 [{"login":"alice","email":"[email protected]",...}] # Expected: HTTP 404 ## Note This is an incomplete fix variant of PR #38145. That PR fixed public_members endpoints only. ListMembers (/orgs/{org}/members) remains unpatched. ## Fix Add to ListMembers(): if !organization.HasOrgOrUserVisible(ctx, ctx.Org.Organization.AsUser(), ctx.Doer) { ctx.APIErrorNotFound() return }
Read the publisher's advisoryosv · GO-2026-6068
PublishedGitea: Private org member list leaked via /members API endpoint — incomplete fix for PR #38145 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-58427 · CVE overview and exploitation status
cve-program · CVE-2026-58427
- https://github.com/go-gitea/gitea/security/advisories/GHSA-prr9-9mp4-5gp2
- https://github.com/go-gitea/gitea/releases/tag/v1.27.0
- https://blog.gitea.com/gitea-1.27.0-is-released/
euvd · EUVD-2026-58155
- https://github.com/go-gitea/gitea/security/advisories/GHSA-prr9-9mp4-5gp2
- https://github.com/go-gitea/gitea/releases/tag/v1.27.0
- https://blog.gitea.com/gitea-1.27.0-is-released/
nvd · CVE-2026-58427
- 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-prr9-9mp4-5gp2
osv · GHSA-prr9-9mp4-5gp2
- https://github.com/go-gitea/gitea/security/advisories/GHSA-prr9-9mp4-5gp2
- https://github.com/go-gitea/gitea
- https://github.com/go-gitea/gitea/releases/tag/v1.27.0
osv · GO-2026-6068
Related changes
Linked by CVE identifier- Private org member list leaked via /members API endpoint — incomplete fix for PR #38145 · Advisory content revised · 15 Nov 2026