What’s Vulnerable › Vulnerabilities

CVE-2026-20736: Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check

Description

Gitea does not properly verify repository context when deleting attachments. A user who previously uploaded an attachment to a repository may be able to delete it after losing access to that repository by making the request through a different repository they can access.

Affected products

How to fix

Upgrade to a fixed version: Gitea Open Source Git Server 1.25.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-20736 or the next vulnerability affects your stack