CVE-2026-27660

Gitea draft releases use insufficient permission checks

Published Jul 3, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Gitea versions before 1.25.5 allow draft release data or attachments to be accessed without the required write permission.

Analysis

AI-generated

Technical impact

The vulnerability allows any user with read access to a repository to view draft release data or attachments that should be hidden until publication. This improper access control undermines confidentiality by exposing confidential information that was intended to remain private. The flaw does not affect data integrity or availability, so the primary risk is leakage of sensitive content.

Affected Systems

All versions of the Gitea Open Source Git Server older than 1.25.5 are affected, regardless of patch level. Environments running these older releases are at risk, including any self‑hosted or hosted instances that have not upgraded.

Risk and Exploitability

The problem can be exploited by any account possessing read permission on the target repository; no elevated privileges are required. The assigned CVSS score of 7.5 marks this as a high‑severity issue. With an EPSS score of less than 1%, the probability of exploitation is low but not impossible. The vulnerability is not listed in the CISA KEV catalog. The lack of hardening of draft release visibility increases the possibility of sensitive data disclosure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.25.5 or later, which removes the permission check flaw for draft releases
  • Limit repository permissions to ensure only users with write access can view draft release content; revoke read access from repositories that contain private drafts as necessary
  • Continuously monitor vendor advisories and promptly apply any subsequent patches

Generated by OpenCVE AI on August 3, 2026 at 05:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-x92v-f5gc-r34v Gitea draft releases and attachments are exposed without write permission
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

ssvc

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

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
Description Gitea versions before 1.25.5 allow draft release data or attachments to be accessed without the required write permission.
Title Gitea draft releases use insufficient permission checks
Weaknesses CWE-284
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Jul 7, 2026, 4:58 PM
Reserved
Feb 22, 2026, 3:13 PM
Status
Deferred
Published
Jul 3, 2026, 9:16 PM
Modified
Oct 25, 2026, 3:10 PM