CVE-2026-73126

Gitea private workflow badge token scope bypass

Published Oct 14, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
Gitea's Actions workflow status badge endpoint does not enforce repository-read scope or the public-only restriction on the token authenticating the request. A token lacking read:repository, or restricted to public repositories, can retrieve the latest workflow status of a private repository accessible to its owner. This discloses private workflow status beyond the token's intended delegated permissions.

Analysis

AI-generated

Technical impact

Gitea’s Actions workflow status badge endpoint fails to enforce the repository‑read or public‑only restrictions on the token used in the request. A token without the read:repository scope, or one limited to public repositories, can still retrieve the latest workflow status of a private repository that the token’s owner can access, revealing private workflow information beyond the token’s intended permissions. The weakness is a privilege‑bypass identified as CWE‑863.

Affected Systems

Affected versions are all Gitea releases prior to v1.27.3. The issue was fixed in the 1.27.3 release, so any instance running v1.27.2 or earlier is vulnerable.

Risk and Exploitability

The CVSS score of 4.3 indicates a moderate severity, and the EPSS score of < 1% suggests a very low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a publicly reachable workflow badge endpoint; an attacker only needs a token that is not granted repository‑read privileges. Exploitation does not require additional privileges or network compromise, so the risk is moderate but tangible for privacy of private workflows.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Gitea to version 1.27.3 or later where the badge endpoint enforces token scopes
  • If an update is not feasible, revoke or regenerate any tokens that can access private repositories and do not require repository read scope
  • Consider limiting access to the badge endpoint or implementing network segmentation to restrict who can query it

Generated by OpenCVE AI on October 15, 2026 at 20:04 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
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'}

ssvc

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

Type Values Removed Values Added
Description Gitea's Actions workflow status badge endpoint does not enforce repository-read scope or the public-only restriction on the token authenticating the request. A token lacking read:repository, or restricted to public repositories, can retrieve the latest workflow status of a private repository accessible to its owner. This discloses private workflow status beyond the token's intended delegated permissions.
Title Gitea private workflow badge token scope bypass
Weaknesses CWE-863
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Oct 14, 2026, 3:03 PM
Reserved
Aug 13, 2026, 4:50 PM
Status
Deferred
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 14, 2026, 4:17 PM