PT-2026-50137 · Gitea+1 · Gitea+1

·

CVE-2026-27783

·

Published

2026-06-16

·

Updated

2026-07-30

CVSS v3.1

4.3

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions Gitea (affected versions not specified)
Description An authorization bypass exists in three API endpoints that allow users to read specific files from a private repository's default branch even if they lack the required Code unit permissions. The issue occurs because these endpoints are registered without the reqRepoReader(unit.TypeCode) authorization middleware used by other similar endpoints. Consequently, a user granted access to a repository through any other unit (such as the Issues unit) can access the contents of .gitea/ISSUE TEMPLATE/* and issue config.yaml.
API Endpoints:
  • '/repos/{owner}/{repo}/issue templates'
  • '/repos/{owner}/{repo}/issue config'
  • '/repos/{owner}/{repo}/issue config/validate'
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Missing Authorization

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-10563
CVE-2026-27783
GHSA-3FWP-P5RJ-2PXF
GO-2026-5081
OPENSUSE-SU-2026:21483-1

Affected Products

Gitea
Red Os