UNKNOWN Go

Gitea has improper access control for uploaded attachments

GHSA-hgr3-x44x-33hx · BIT-gitea-2026-20736 · CVE-2026-20736 · GHSA-jr6h-pwwp-c8g6 · GO-2026-4367

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 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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes