PT-2026-51633 · Gogs · Gogs
Published
2026-06-23
·
Updated
2026-06-24
·
CVE-2026-52815
CVSS v4.0
5.5
Medium
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P |
Name of the Vulnerable Software and Affected Versions
Gogs versions prior to 0.14.3
Description
Gogs contains an information disclosure issue where the 'GET /api/v1/orgs/:orgname/teams' endpoint returns all teams for any organization without requiring authentication. This occurs because the route group lacks the
reqToken() middleware, and the listTeams() handler does not perform authentication checks. Consequently, an unauthenticated caller can access team IDs, names, descriptions, and permission levels (read, write, admin, or owner). This allows for the enumeration of private or internal teams, mapping of organizational structures, and identification of high-value targets.Recommendations
Update to version 0.14.3 or later.
As a temporary workaround, restrict access to the 'GET /api/v1/orgs/:orgname/teams' endpoint to minimize the risk of exploitation.
Fix
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Gogs