GitHub Advisoryadvisory · Go

GHSA-hgr3-x44x-33hx Gitea has improper access control for uploaded attachments

LOW Published 2026-01-23 Modified 2026-01-23 Official page ↗
Aliases
CVE-2026-20736
Ecosystem
Go
Packages
code.gitea.io/gitea
Severity
Low
CVSS vector
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
Weaknesses
CWE-284
Reviewed
2026-01-23

Affected packages

• Go code.gitea.io/gitea: < 1.25.4 → fixed in 1.25.4

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.

Related

Alias · CVE (1)

  • CVE-2026-20736 Gitea does not properly verify repository context when deleting attachments. vulnerability

Weakness · CWE (1)

  • CWE-284 Improper Access Control weakness

References