MEDIUM

CVE-2026-52815

2026-06-24 CVSS v4.0
CVSS
5.5

Description

Gogs is an open source self-hosted Git service. Prior to 0.14.3, Gogs has an unauthenticated information disclosure vulnerability. The GET /api/v1/orgs/:orgname/teams endpoint at internal/route/api/v1/org_team.go:8 returns all teams for any organization without requiring authentication. The route group at internal/route/api/v1/api.go:380-385 lacks the reqToken() middleware, and the listTeams() handler performs no authentication check, exposing team IDs, names, descriptions, and permission levels to any unauthenticated caller. This vulnerability is fixed in 0.14.3.

Summary dbcve.org

Gogs versions prior to 0.14.3 contain an unauthenticated information disclosure vulnerability in the GET /api/v1/orgs/:orgname/teams endpoint. The route group at internal/route/api/v1/api.go lacks the reqToken() middleware, and the listTeams() handler performs no authentication check, allowing any unauthenticated caller to retrieve team IDs, names, descriptions, and permission levels for all organizations.

Mitigation

Upgrade Gogs to version 0.14.3 or later, which adds the required reqToken() middleware to enforce authentication on the affected endpoint.

Weakness (CWE)

CWE-200 Information Exposure

EPSS Score

1.49%
Probability of exploitation in next 30 days
72.9th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE