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.
Published: 2026-10-14
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure
Action: Patch
AI Analysis

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.

Generated by OpenCVE AI on October 15, 2026 at 21:24 UTC.

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 yet.

History

Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Wed, 14 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Wed, 14 Oct 2026 15:30:00 +0000

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


Wed, 14 Oct 2026 14:45:00 +0000

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

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-10-14T16:45:12.150Z

Reserved: 2026-08-13T16:50:59.176Z

Link: CVE-2026-71301

cve-icon Vulnrichment

Updated: 2026-10-14T14:48:33.235Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T15:17:22.887

Modified: 2026-10-14T16:17:52.500

Link: CVE-2026-71301

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T22:00:14Z

Weaknesses