CVE-2026-125617

Gitea hidden organization membership disclosure through the permissions API

Published Nov 15, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
`GET /api/v1/users/{username}/orgs/{org}/permissions` only checked that the organization is visible to the caller and then returned the named user's role in it. Any signed-in user could learn whether another user is an owner, admin or member of a public or limited organization, including for members who conceal their membership. The roles are now only returned to the user themselves, to members of the organization and to site administrators.

Analysis

AI-generated

Technical impact

GET /api/v1/users/{username}/orgs/{org}/permissions returns the named user's role in an organization after checking only that the organization is visible to the caller. Because any authenticated user can call this endpoint, a signed‑in user can learn whether another user is an owner, admin, or member of a public or limited organization, even if that user has chosen to conceal their membership. This flaw is a CWE‑200 Information Exposure vulnerability that reveals private organizational structure but does not allow privilege escalation or code execution.

Affected Systems

The vulnerability exists in Gitea Gitea versions that expose the legacy permissions API before the 28.4.0 release. All earlier releases of Gitea are affected until the patch added in 28.4.0 that limits role disclosure to the user themselves, members of the organization, and site administrators.

Risk and Exploitability

Only a signed‑in user can exploit the flaw by making API requests; no additional authentication or privileges are required beyond being logged in. The vulnerability does not provide privilege escalation, code execution, or denial of service. No CVSS score has been published, the EPSS score is not available, and the vulnerability has not been listed in the CISA KEV catalog. Consequently, the exploitation risk is limited to the privacy impact for users whose membership status may be hidden.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Gitea 28.4.0 or newer to apply the vendor fix that restricts role disclosure.
  • Disable or restrict the legacy permissions API endpoint so that only site administrators can invoke it, preventing unintended disclosure from other authenticated users.
  • Review organization visibility and hidden membership settings to ensure that organizational structure is only visible to authorized users.

Generated by OpenCVE AI on November 15, 2026 at 23:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
Type Values Removed Values Added
Description `GET /api/v1/users/{username}/orgs/{org}/permissions` only checked that the organization is visible to the caller and then returned the named user's role in it. Any signed-in user could learn whether another user is an owner, admin or member of a public or limited organization, including for members who conceal their membership. The roles are now only returned to the user themselves, to members of the organization and to site administrators.
Title Gitea hidden organization membership disclosure through the permissions API
Weaknesses CWE-200
References
Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Nov 15, 2026, 9:14 PM
Reserved
Nov 15, 2026, 8:31 PM
Status
Deferred
Published
Nov 15, 2026, 10:17 PM
Modified
Nov 15, 2026, 10:17 PM