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: 5.9 Medium
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 of 5.9 indicates moderate risk. 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 18, 2026 at 15:23 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 18, 2026 at 15:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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


Sun, 18 Oct 2026 05:15:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

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

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-10-18T13:35:37.544Z

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

Link: CVE-2026-78433

cve-icon Vulnrichment

Updated: 2026-10-18T13:35:27.855Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-10-18T14:16:56.500

Link: CVE-2026-78433

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T15:30:17Z

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