Gitea.dev: Gitea: Private org member list leaked via /members API endpoint — incomplete fix for PR #38145 (CVE-2026-58427)
An information disclosure vulnerability exists in Gitea versions prior to 1.27.0 where the /orgs/{org}/members API endpoint allows any authenticated user to enumerate all members of a private organization, not just public members. This occurs because the ListMembers function lacks a proper access check, unlike the fixed ListPublicMembers and IsPublicMember functions. The issue is an incomplete fix related to PR #38145. The vulnerability is classified as moderate severity and is identified as CVE-2026-58427.
AI Analysis
Technical Summary
Gitea's API endpoint /orgs/{org}/members exposes the full member list of private organizations to any authenticated user due to a missing access control check in the ListMembers function. While previous fixes addressed public member enumeration, this endpoint remains vulnerable, allowing unauthorized enumeration of private organization members. The root cause is the absence of a verification step to confirm if the requesting user has visibility rights to the organization members. The recommended fix is to add an access check similar to that used in other member listing functions.
Potential Impact
Any authenticated user can retrieve the complete list of members of a private organization, potentially exposing sensitive membership information that should remain confidential. This information disclosure could aid attackers in reconnaissance but does not directly allow modification or deletion of data.
Mitigation Recommendations
A fix is available in Gitea version 1.27.0 and later, which adds the missing access control check to the ListMembers function. Users should upgrade to version 1.27.0 or later to remediate this vulnerability. Until patched, restrict API access to trusted users only if possible.
Gitea.dev: Gitea: Private org member list leaked via /members API endpoint — incomplete fix for PR #38145 (CVE-2026-58427)
Description
An information disclosure vulnerability exists in Gitea versions prior to 1.27.0 where the /orgs/{org}/members API endpoint allows any authenticated user to enumerate all members of a private organization, not just public members. This occurs because the ListMembers function lacks a proper access check, unlike the fixed ListPublicMembers and IsPublicMember functions. The issue is an incomplete fix related to PR #38145. The vulnerability is classified as moderate severity and is identified as CVE-2026-58427.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Gitea's API endpoint /orgs/{org}/members exposes the full member list of private organizations to any authenticated user due to a missing access control check in the ListMembers function. While previous fixes addressed public member enumeration, this endpoint remains vulnerable, allowing unauthorized enumeration of private organization members. The root cause is the absence of a verification step to confirm if the requesting user has visibility rights to the organization members. The recommended fix is to add an access check similar to that used in other member listing functions.
Potential Impact
Any authenticated user can retrieve the complete list of members of a private organization, potentially exposing sensitive membership information that should remain confidential. This information disclosure could aid attackers in reconnaissance but does not directly allow modification or deletion of data.
Mitigation Recommendations
A fix is available in Gitea version 1.27.0 and later, which adds the missing access control check to the ListMembers function. Users should upgrade to version 1.27.0 or later to remediate this vulnerability. Until patched, restrict API access to trusted users only if possible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-prr9-9mp4-5gp2
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-58427"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- MODERATE
- Cvss Version
- null
Threat ID: 6a600aa29c2644c7f8fdfcc9
Added to database: 07/22/2026, 00:11:14 UTC
Last enriched: 07/22/2026, 00:39:14 UTC
Last updated: 07/22/2026, 00:39:14 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.