Gitea has improper access control for uploaded attachments
Low severity
GitHub Reviewed
Published
Jan 23, 2026
to the GitHub Advisory Database
•
Updated Jan 23, 2026
Description
Published by the National Vulnerability Database
Jan 22, 2026
Published to the GitHub Advisory Database
Jan 23, 2026
Reviewed
Jan 23, 2026
Last updated
Jan 23, 2026
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.
References