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

Thu, 22 Jan 2026 23:00:00 +0000

Type Values Removed Values Added
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.
Title Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check
Weaknesses CWE-284
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-01-22T22:01:49.678Z

Reserved: 2026-01-08T23:02:37.558Z

Link: CVE-2026-20736

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-01-22T22:16:17.207

Modified: 2026-01-22T22:16:17.207

Link: CVE-2026-20736

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.