Improper access control in Gitea - CVE-2026-58440
Published: July 14, 2026
Vulnerability details
The vulnerability allows a remote user to disclose sensitive information.
The vulnerability exists due to improper access control in DeleteCollaboration and webhook delivery when handling repository events after collaborator access is revoked. A remote privileged user can create a webhook on a private repository before revocation to disclose sensitive information.
The webhook may remain active after the collaborator loses repository access, and future event payloads can include issue and comment bodies and commit data sent to an attacker-controlled endpoint.