UNKNOWN Go

Gitea does not properly validate repository ownership when linking attachments to releases

GHSA-4xx9-vc8v-87hv · BIT-gitea-2026-20912 · CVE-2026-20912 · GHSA-vfmv-f93v-37mw · GO-2026-4364

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes