---
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: medium
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
  - cve.org
ingestedAt: '2026-10-14T15:36:14.032Z'
vendor: Gitea
product: gitea.dev
affected:
  - gitea.dev >= 1.26.0 <= 1.27.2
epss: 0.00369
epssPercentile: 0.306
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-18T13:35:32.390912Z'
cvssSource: adp
---

## 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.
