Authorization bypass through user-controlled key in Gitea - CVE-2026-58445
Published: July 14, 2026
Vulnerability details
The vulnerability allows a remote user to disclose limited sensitive information.
The vulnerability exists due to authorization bypass through user-controlled key in the DeleteIssueLabel API endpoint when handling DELETE requests for issue labels by ID. A remote privileged user can send a specially crafted request with arbitrary label IDs to disclose limited sensitive information.
The issue creates an oracle in which response status distinguishes whether a label ID exists anywhere on the instance, including labels in repositories or organizations the user cannot access. No cross-repository write occurs, and no label name, color, or owning repository is disclosed.