CVE-2026-58511 Webhook Authorization Header Returned in Plaintext via API
Attackers can retrieve webhook authorization headers in plaintext via the API, exposing sensitive credentials in Gitea Git Server.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-58511?
CVE-2026-58511 is a low-severity vulnerability in Gitea Open Source Git Server, published on 13 Aug 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Webhook Authorization Header Returned in Plaintext via API
Weakness: CWE-200
Which versions are affected by CVE-2026-58511?
3 open source packages ship an affected version, including code.gitea.io/gitea and gitea.dev.
| Package | Affected | Fixed in |
|---|---|---|
code.gitea.io/gitea Go | All versions | 1.27.0 |
code.gitea.io/gitea Go | All versions | 1.27.0 |
gitea.dev Go | All versions | 1.27.0 |
How do I fix CVE-2026-58511?
Upgrade code.gitea.io/gitea to 1.27.0 or later.
Is CVE-2026-58511 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-58511 exists.
Sources
Also known as GHSA-3r5c-2xxx-h872, GO-2026-6040, MINI-3f44-6hhm-phcr, MINI-75j2-wccf-w42g.