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.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Information Disclosure
Action: Apply Patch
AI Analysis

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 not provided, but the EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, so the exploitation probability is unknown from published metrics. 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.

Generated by OpenCVE AI on October 18, 2026 at 20:49 UTC.

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 18, 2026 at 20:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 19:00:00 +0000

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

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-10-18T18:57:14.140Z

Reserved: 2026-10-14T20:08:45.838Z

Link: CVE-2026-110311

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T19:16:33.197

Modified: 2026-10-18T19:16:33.197

Link: CVE-2026-110311

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T21:00:10Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor