Description
Gitea's web attachment handler skips its cross-repository ownership check for attachments created before 16 January 2026 and checks permissions against the repository named in the request URL instead. An unauthenticated attacker who knows a private attachment's UUID can request it through a public repository's attachment path and retrieve its contents. This can expose issue and pull request attachments or release assets; the random attachment UUID must already be known to the attacker.
Published: 2026-10-14
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure of private attachments
Action: Patch
AI Analysis

Impact

The flaw lies in the web attachment handler that bypasses cross-repository ownership validation for attachments created before 16 January 2026. Instead of checking the original repository of the attachment, the system validates permissions against the repository specified in the request URL. An unauthenticated attacker who knows the UUID of a private attachment can therefore request it through a public repository’s attachment path and receive its contents. As a result, issue and pull request attachments or release assets that were previously hidden can be disclosed.

Affected Systems

The vulnerability affects the open‑source project Gitea. Any installation running a version prior to the 1.27.3 release is susceptible. The security advisory specifically references the 1.27.3 update that addresses the file‑ownership check bug.

Risk and Exploitability

Based on the provided metrics, the EPSS score is reported as less than 1 %, indicating that the probability of exploitation is very low but non‑zero. The vulnerability is not listed in the CISA KEV catalog, and a CVSS score is not supplied, so the overall risk should be treated as significant until patching is applied. The attack requires only a valid UUID and a public repository path – both of which can be discovered or guessed. The attack is remote, unauthenticated, and does not require elevated system privileges. The most likely attack vector is a simple HTTP GET request to the attachment URL. The exposure is limited to previously uploaded private assets whose identifiers are known, but the scope of potential leakage is large because many teams use private attachments in issues, PRs, and releases.

Generated by OpenCVE AI on October 15, 2026 at 19:13 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.27.3 or later based on the vendor’s release notes
  • Verify that all repositories used in public URLs are not repurposed for private attachments; consider restructuring your repository naming to avoid accidental exposure
  • If upgrading immediately is not possible, revoke or delete private attachments that were uploaded before 16 January 2026 and that are still accessible via public paths

Generated by OpenCVE AI on October 15, 2026 at 19:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 14 Oct 2026 15:00:00 +0000

Type Values Removed Values Added
Description Gitea's web attachment handler skips its cross-repository ownership check for attachments created before 16 January 2026 and checks permissions against the repository named in the request URL instead. An unauthenticated attacker who knows a private attachment's UUID can request it through a public repository's attachment path and retrieve its contents. This can expose issue and pull request attachments or release assets; the random attachment UUID must already be known to the attacker.
Title Gitea private attachment disclosure through repository mismatch
Weaknesses CWE-1220
CWE-284
CWE-639
CWE-863
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-10-14T14:38:17.247Z

Reserved: 2026-08-24T20:45:09.297Z

Link: CVE-2026-78433

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-14T15:17:25.637

Modified: 2026-10-14T16:04:39.483

Link: CVE-2026-78433

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-15T19:15:18Z

Weaknesses
  • CWE-1220

    Insufficient Granularity of Access Control

  • CWE-284

    Improper Access Control

  • CWE-639

    Authorization Bypass Through User-Controlled Key

  • CWE-863

    Incorrect Authorization