CVE-2026-27783

Gitea issue-template APIs bypass repository unit authorization

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 enforce repository-unit authorization on issue-template API endpoints.

Analysis

AI-generated

Technical impact

Gitea versions up to 1.26.1 lack repository‑unit authorization on the issue‑template API endpoints, which may allow users to read or modify issue templates without proper repository privileges. This can expose repository‑specific information or let attackers inject malicious content into new issues. The weakness corresponds to CWE‑862, Missing Authorization Check.

Affected Systems

Gitea Open Source Git Server versions 1.26.1 or earlier are affected. The vulnerability exists in the issue‑template API endpoints exposed by these releases. Users who have any account on the Gitea instance and can target the API are at risk, while higher‑privileged administrators are protected once the patch in 1.26.2 is applied.

Risk and Exploitability

The CVSS score of 4.3 indicates moderate severity. An EPSS score below 1 % suggests a very low chance of active exploitation, and the vulnerability is not in CISA’s KEV catalog. Based on the description, the likely attack vector is a crafted HTTP request to the vulnerable issue‑template endpoints, which an attacker can perform from any authenticated session lacking proper repository permissions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.26.2 or later, which restores correct repository‑unit authorization on the issue‑template endpoints.
  • If upgrading immediately is not feasible, block external requests to the issue‑template API endpoints for users without sufficient repository privileges using firewall or reverse‑proxy rules.
  • Review and cleanse all existing issue templates to remove or anonymize any sensitive or proprietary information before upgrading, and adopt least‑privilege policies for users who can interact with the template API.

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-3fwp-p5rj-2pxf Gitea: Missing repository-unit authorization on issue-template API endpoints
History
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
Metrics ssvc

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

Type Values Removed Values Added
Description Gitea versions up to and including 1.26.1 do not enforce repository-unit authorization on issue-template API endpoints.
Title Gitea issue-template APIs bypass repository unit authorization
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 6, 2026, 3:19 PM
Reserved
Mar 3, 2026, 3:25 AM
Status
Deferred
Published
Jul 3, 2026, 9:16 PM
Modified
Oct 25, 2026, 3:10 PM