CVE-2026-52815

Gogs: Unauthenticated Organization Teams Information Disclosure via API

Published Jun 24, 2026 CVSS 4.0 · 5.5 Medium EPSS 1.5% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability allows an unauthenticated user to retrieve detailed information about an organization’s teams. The exposed data includes team identifiers, names, descriptions, and permission levels, which could assist an attacker in mapping the internal structure of the repository service and planning targeted attacks. The weakness is a type of information disclosure (CWE‑200).

Affected Systems

Any Gogs deployment running a version earlier than 0.14.3 is affected. The flaw occurs when the GET /api/v1/orgs/:orgname/teams endpoint is accessed without requiring credentials, exposing sensitive organizational data.

Risk and Exploitability

The CVSS score of 5.5 indicates a moderate risk. The EPSS score is 2%, indicating a low but non‑zero chance of exploitation, and the vulnerability is not listed in CISA KEV, so there is no evidence of current exploitation at this time. The lack of authentication checks in the route definition means the attack vector is local network or internet access to the Gogs API, and the condition is that the attacker can send an HTTP request to the target without credentials.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gogs to version 0.14.3 or later to apply the vendor fix
  • Restrict external access to the Gogs API by configuring network firewalls or reverse proxy rules to limit traffic to trusted hosts
  • Disable unauthenticated access to the /api/v1/orgs/:orgname/teams endpoint by enabling authentication middleware or removing the route from the public API set

Generated by OpenCVE AI on June 25, 2026 at 14:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-744x-3838-5r56 Gogs Vulnerable to Unauthenticated Organization Teams Information Disclosure via API
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gogs
Gogs gogs
Vendors & Products Gogs
Gogs gogs
Type Values Removed Values Added
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.
Title Gogs: Unauthenticated Organization Teams Information Disclosure via API
Weaknesses CWE-200
References
Metrics cvssV4_0

{'score': 5.5, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 25, 2026, 2:50 PM
Reserved
Jun 8, 2026, 6:11 PM
Status
Deferred
Published
Jun 24, 2026, 9:16 PM
Modified
Jun 25, 2026, 4:16 PM