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.
Published: 2026-06-24
Score: 5.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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. No EPSS score is available, 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.

Generated by OpenCVE AI on June 24, 2026 at 21:53 UTC.

Remediation

No vendor fix or workaround currently provided.

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 24, 2026 at 21:53 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

Wed, 24 Jun 2026 20:30:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-24T20:01:03.050Z

Reserved: 2026-06-08T18:11:06.660Z

Link: CVE-2026-52815

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-24T22:00:04Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor