Incorrect authorization in Gitea - CVE-2026-56443
Published: July 14, 2026
Vulnerability details
The vulnerability allows a remote user to disclose limited-visibility repository and package content.
The vulnerability exists due to incorrect authorization in public-only personal access token scope checks for repository and package access controls when handling requests for resources owned by limited-visibility users or organizations. A remote user can use a public-only token to access repository and package endpoints to disclose limited-visibility repository and package content.
The issue affects repository and package scope categories, while sibling user and organization scope checks correctly reject the same access pattern.