CVE-2026-110311

Gitea draft release creation disclosing attachment metadata

Published Oct 18, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
Creating a draft release through the API returned an `assets` list that was built from a release without an ID, which matched every attachment that was not linked to a release. A user who could create a draft release in a repository therefore received the metadata (file name, UUID, upload time, size and download count) of issue and comment attachments of repositories they could not read, and of abandoned uploads.

Analysis

AI-generated

Technical impact

A writer can create a draft release via the Gitea API, causing the system to generate an "assets" list for a non‑existent release. The list unwittingly includes every attachment that is not linked to an existing release, revealing file names, UUIDs, upload timestamps, sizes, and download counters. This disclosure exposes attachments from issues, comments, and abandoned uploads that the attacker would normally not be able to read, even if the repository is otherwise private or the attachments belong to a different user. The flaw is a classic information‑disclosure weakness (CWE‑200).

Affected Systems

The vulnerability affects all installations of Gitea, specifically any repository where a user has permissions to create a draft release. Versions earlier than 28.2.0 are vulnerable; the issue was addressed in the 28.2.0 release. No specific vendor or product name beyond Gitea is listed, so all community‑maintained and enterprise deployments must be examined.

Risk and Exploitability

The CVSS score is 4.3, the EPSS score is less than 1% indicating a low probability of exploitation, and it is not listed in the CISA KEV catalog. The likely attack vector is via the authenticated REST API that accepts draft release creation. An attacker only needs the ability to call this endpoint, which may be granted to maintainers or project members, to obtain metadata beyond their normal read permissions. While no remote code execution or denial of service is reported, the information disclosed can aid further attacks or auditing violations.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 28.2.0 or later to apply the official fix that prevents the asset list from leaking unattached attachment metadata.
  • Limit the permissions that allow users to create draft releases to only trusted or privileged roles; consider disabling draft releases entirely for repositories that contain sensitive or private attachments.
  • Audit repository permissions and review any abandoned uploads, removing or securing those that may contain sensitive data that could be exposed through this vulnerability.

Generated by OpenCVE AI on October 20, 2026 at 06:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
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'}

Type Values Removed Values Added
Description Creating a draft release through the API returned an `assets` list that was built from a release without an ID, which matched every attachment that was not linked to a release. A user who could create a draft release in a repository therefore received the metadata (file name, UUID, upload time, size and download count) of issue and comment attachments of repositories they could not read, and of abandoned uploads.
Title Gitea draft release creation disclosing attachment metadata
Weaknesses CWE-200
References
Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Oct 19, 2026, 8:17 PM
Reserved
Oct 14, 2026, 8:08 PM
Status
Awaiting Analysis
Published
Oct 18, 2026, 7:16 PM
Modified
Oct 19, 2026, 9:17 PM