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.
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: 2026-10-14T14:38:17.247Z

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.