Home

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.

PUBLISHED Reserved 2026-01-08 | Published 2026-01-22 | Updated 2026-01-23 | Assigner Gitea

Problem types

CWE-284: Improper Access Control

Product status

Default status
unaffected

Any version
affected

Credits

spingARbor reporter

References

github.com/.../gitea/security/advisories/GHSA-jr6h-pwwp-c8g6 (GitHub Security Advisory) vendor-advisory

github.com/go-gitea/gitea/pull/36320 (GitHub Pull Request #36320) patch

github.com/go-gitea/gitea/releases/tag/v1.25.4 (Gitea v1.25.4 Release) release-notes

blog.gitea.com/release-of-1.25.4/ (Gitea v1.25.4 Release Blog Post) release-notes

cve.org (CVE-2026-20736)

nvd.nist.gov (CVE-2026-20736)

Download JSON