---
id: CVE-2026-78433
title: >-
  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
summary: >-
  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
  know…
severity: none
cwe:
  - CWE-284
  - CWE-639
  - CWE-863
  - CWE-1220
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T16:04:39.483'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-78433'
references:
  - url: 'https://blog.gitea.com/release-of-1.27.3/'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/pull/39048'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/pull/39077'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/releases/tag/v1.27.3'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/security/advisories/GHSA-frpv-2xgv-wxpq'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
tags:
  - nvd
ingestedAt: '2026-10-14T15:36:14.032Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
