Information disclosure in gogs - CVE-2026-52815
Published: June 19, 2026
gogs
Detailed vulnerability description
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to improper access control in the GET /api/v1/orgs/:orgname/teams endpoint when handling unauthenticated API requests. A remote attacker can send a crafted GET request to disclose sensitive information.
The response exposes team IDs, names, descriptions, and permission levels for arbitrary organizations.