CVE-2026-58440 Gitea: Webhooks created by a collaborator keep firing after their repo access is revoked → ongoing real-time exfiltration of private repo content

Medium 6.8 Published Updated

Attackers can exfiltrate private repository content via webhooks that continue firing after collaborator access is revoked due to incomplete cleanup.

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-58440?

CVE-2026-58440 is a medium-severity missing authorization 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

Webhooks created by a collaborator keep firing after their repo access is revoked → ongoing real-time exfiltration of private repo content (incomplete revocation cleanup in `DeleteCollaboration`)

Weakness: CWE-284

Which versions are affected by CVE-2026-58440?

3 open source packages ship an affected version, including gitea.dev.

PackageAffectedFixed in
gitea.dev GoAll versions1.27.0
gitea.dev GoAll versions1.27.0
gitea.dev GoAll versions1.27.0

How do I fix CVE-2026-58440?

Upgrade gitea.dev to 1.27.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-58440 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-58440 exists.

Sources

Also known as GHSA-66m4-5jjr-2rg5, GO-2026-6033.

Is CVE-2026-58440 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free