Information disclosure in Gitea - CVE-2026-58511
Published: July 14, 2026
Vulnerability details
The vulnerability allows a remote user to disclose sensitive information.
The vulnerability exists due to exposure of sensitive information in the ToHook() function in services/webhook/general.go when handling API requests for webhook data. A remote privileged user can retrieve webhook details to disclose sensitive information.
The issue exposes plaintext webhook authorization headers, including Bearer tokens, Basic authentication credentials, and API keys, that were configured by other administrators.