CVE-2026-20736

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductGitea
PublishedJan 22, 2026
First seenJan 22, 2026

How to fix

Affected products

ProductAffected versionsFixed in
gitea giteav < 1.25.41.25.4
code.gitea.io/giteaGov < 1.25.41.25.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.