What’s Vulnerable › Vulnerabilities

CVE-2026-20912: Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure

Description

Gitea does not properly validate repository ownership when linking attachments to releases. An attachment uploaded to a private repository could potentially be linked to a release in a different public repository, making it accessible to unauthorized users.

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-20912 or the next vulnerability affects your stack