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.
{
"cwe_ids": [
"CWE-284"
],
"severity": "LOW",
"github_reviewed": true,
"nvd_published_at": "2026-01-22T22:16:17Z",
"github_reviewed_at": "2026-01-23T20:11:37Z"
}