Missing Authorization in Gitea - CVE-2026-58432
Published: July 14, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to missing authorization in the ServeAttachment web attachment handler when handling UUID-based attachment download requests for draft release assets. A remote attacker can obtain or use a draft release attachment UUID and request a web attachment endpoint to disclose sensitive information.
The issue affects web-level attachment routes that do not enforce the draft-release access check, and exploitation requires knowledge of an attachment UUID.