All reports
Low

Gitea has improper access control for uploaded attachments

Affected versions

Version ranges need review.

Affected versions
< 1.25.4
Fixed version
1.25.4
Affected versions
<1.25.4
Fixed version
1.25.4

Exploitation

CVE-2026-20736

Probability of exploitation in the next 30 days: 0.43%

FIRST EPSS · 2026-11-21

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.

Links