Input validation error in Gitea - CVE-2026-58420
Published: July 14, 2026
Vulnerability details
The vulnerability allows a local privileged user to disclose sensitive information.
The vulnerability exists due to improper input validation in the migration restore release attachment handling when processing a crafted archive containing a release.yml file with a file:// DownloadURL. A local privileged user can supply a crafted archive or trick an administrator into restoring it to disclose sensitive information.
The issue affects the restore-repo command, and exfiltrated file contents are stored as release attachments retrievable through the Gitea API.