PT-2026-51633 · Gogs · Gogs

CVE-2026-52815

·

Published

2026-06-23

·

Updated

2026-07-30

CVSS v4.0

6.9

Medium

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
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, unauthenticated callers can access team IDs, names, descriptions, and permission levels. This allows attackers to enumerate private or internal teams, map organizational structures, and identify high-value targets based on permission levels such as admin or owner.
Recommendations Update Gogs to version 0.14.3. As a temporary mitigation, restrict access to the 'GET /api/v1/orgs/:orgname/teams' endpoint.

Exploit

Fix

Information Disclosure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-52815
GHSA-744X-3838-5R56
GO-2026-5202
OPENSUSE-SU-2026:21483-1

Affected Products

Gogs