CVE-2026-25714

Gitea user organization API bypasses public-only token filtering

Published Jul 3, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
Gitea versions up to and including 1.26.1 do not apply public-only token filtering consistently to the user organization API, leaving an incomplete fix for CVE-2025-68941.

Analysis

AI-generated

Technical impact

The vulnerability is that Gitea versions up to and including 1.26.1 do not apply public‑only token filtering consistently to the user organization API, leaving an incomplete fix for CVE-2025-68941. Based on the description, it is inferred that an attacker possessing a valid API token intended to be public‑only could retrieve organization data via the endpoint, effectively bypassing intended access restrictions.

Affected Systems

The vulnerability affects the Gitea Open Source Git Server product, specifically all releases through 1.26.1. Users running these or earlier versions are at risk.

Risk and Exploitability

The CVSS score of 4.3 indicates moderate severity; the EPSS score is < 1%, indicating a very low but nonzero likelihood of exploitation, and the vulnerability is not listed in CISA’s KEV catalogue. Attackers can exploit this remotely by presenting a valid API token to the user organization endpoint, bypassing the public‑only filter. Based on the description, it is inferred that the attacker must possess a valid API token, and no special network configuration beyond the ability to communicate with the Gitea instance is required.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.26.2 or later, which implements the correct token filtering logic.
  • Verify that API tokens in use are scoped appropriately and that public‑only tokens cannot access organization data via the API.
  • If an immediate upgrade is not possible, restrict organization‑API access by disabling or isolating the endpoint in the server configuration, or by revoking and recreating compromised tokens with stricter permissions.

Generated by OpenCVE AI on August 1, 2026 at 20:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-8629-vc8r-5p58 Gitea: Incomplete CVE-2025-68941 fix: /user/orgs missing checkTokenPublicOnly + switch-case logic flaw
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server
Type Values Removed Values Added
Description Gitea versions up to and including 1.26.1 do not apply public-only token filtering consistently to the user organization API, leaving an incomplete fix for CVE-2025-68941.
Title Gitea user organization API bypasses public-only token filtering
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Jul 7, 2026, 4:59 PM
Reserved
Mar 3, 2026, 3:25 AM
Status
Deferred
Published
Jul 3, 2026, 9:16 PM
Modified
Oct 25, 2026, 3:10 PM