CVE-2026-71301

Gitea private pull request title disclosure through markup

Published Oct 14, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
Gitea's repository markup endpoint resolves same-repository pull request references without enforcing the viewer's Pull Requests permission. A member with only Wiki access to a private repository can submit a markup preview request and retrieve a private pull request's title and state icon despite lacking Issues and Pull Requests access. This exposes pull request metadata across repository unit permissions.

Analysis

AI-generated

Technical impact

Gitea's repository markup endpoint fails to enforce the viewer's Pull Requests permission when resolving same‑repository pull request references. This flaw, classified as CWE-284: Improper Access Control, allows a user who only has Wiki access to a private repository to submit a markup preview request and obtain the title and state icon of a private pull request. The result is leaking pull request metadata to individuals who otherwise lack Issues or Pull Requests rights, increasing the surface of potential attack information.

Affected Systems

Any Gitea installation running a version older than 1.27.3 is susceptible. The flaw affects private repositories configured with separate unit permissions; only the scenarios where Wiki rights are granted but Pull Requests rights are not. Admins should confirm the server version and ensure that the instance has applied the 1.27.3 release or later update.

Risk and Exploitability

The CVSS score of 4.3 indicates moderate impact, while the EPSS score of less than 1% denotes a very low probability of exploitation. Since the vulnerability is not listed in CISA's KEV catalog, there is no evidence of active exploitation. The attack requires an authenticated user with Wiki permission to the private repository, who can then send a markup preview request over HTTP or HTTPS to retrieve the pull request title and state icon. No code execution or privilege escalation is possible through this vector.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.27.3 or later
  • Revoke Wiki access for users who do not require it on private repositories
  • Disable the markup preview feature for private repositories
  • Audit unit permissions to confirm that only users with Pull Requests rights can access pull request metadata

Generated by OpenCVE AI on October 15, 2026 at 21:24 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
Weaknesses CWE-284
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 repository markup endpoint resolves same-repository pull request references without enforcing the viewer's Pull Requests permission. A member with only Wiki access to a private repository can submit a markup preview request and retrieve a private pull request's title and state icon despite lacking Issues and Pull Requests access. This exposes pull request metadata across repository unit permissions.
Title Gitea private pull request title disclosure through markup
References
Weaknesses

Sources

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