← CVE Intelligence

CVE-2026-20736

Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Gitea / Gitea Open Source Git Serveraffected 0 through 1.25.3

CWE

CWE-284

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

redhat-SADP

An access control flaw has been discovered in Gitea. 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.