go-gitea/gitea · Security

Gitea has improper access control for uploaded attachments

GHSA ID
GHSA-hgr3-x44x-33hx
CVE ID
CVE-2026-20736
Severity
low
Published
Updated
CVSS v4
2.3 · CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

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.

CWEs

References