🛡️ CVE-2026-58427 — gitea.dev

⚪ Unknown ✅ No Known Exploit CWE-200 OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

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

github.com (Web)
github.com (Package)
github.com (Web)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE CWE-200
Public Exploit ✅ No
Source OSV
Published 2026-07-21
Updated 2026-08-12
Modified 2026-07-27
Fix URL N/A

Affected Packages

Software From version Fixed in
gitea.dev

Similar Threats

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.