CVE-2026-58440: CWE-284 in Gitea Gitea Open Source Git Server
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`)
AI Analysis
Technical Summary
In Gitea versions before 1.27.0, webhooks established by collaborators with admin rights on private repositories are not properly invalidated when those collaborators lose access. The webhook delivery system fails to re-verify the current access rights of the webhook creator, enabling continued firing of webhooks and delivery of sensitive repository event data to unauthorized parties. This vulnerability is tracked as CVE-2026-58440 and is classified under CWE-863 (Incorrect Authorization).
Potential Impact
The vulnerability allows unauthorized exfiltration of private repository content through persistent webhook deliveries to former collaborators. Confidential information contained in repository events can be leaked indefinitely after access revocation, potentially compromising sensitive data. The CVSS 3.1 base score is 6.8 (medium severity), reflecting network attack vector, low attack complexity, high privileges required, no user interaction, scope change, and high confidentiality impact without integrity or availability impact.
Mitigation Recommendations
An official patch is available in Gitea version 1.27.0 that addresses this issue by ensuring webhook creators' access is re-validated before webhook delivery. Users should upgrade to version 1.27.0 or later to remediate this vulnerability. Since this is not a cloud service, remediation depends on applying the patch. No additional mitigation steps are indicated by the vendor advisory.
CVE-2026-58440: CWE-284 in Gitea Gitea Open Source Git Server
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`)
CVSS v3.1
Score 6.8medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In Gitea versions before 1.27.0, webhooks established by collaborators with admin rights on private repositories are not properly invalidated when those collaborators lose access. The webhook delivery system fails to re-verify the current access rights of the webhook creator, enabling continued firing of webhooks and delivery of sensitive repository event data to unauthorized parties. This vulnerability is tracked as CVE-2026-58440 and is classified under CWE-863 (Incorrect Authorization).
Potential Impact
The vulnerability allows unauthorized exfiltration of private repository content through persistent webhook deliveries to former collaborators. Confidential information contained in repository events can be leaked indefinitely after access revocation, potentially compromising sensitive data. The CVSS 3.1 base score is 6.8 (medium severity), reflecting network attack vector, low attack complexity, high privileges required, no user interaction, scope change, and high confidentiality impact without integrity or availability impact.
Mitigation Recommendations
An official patch is available in Gitea version 1.27.0 that addresses this issue by ensuring webhook creators' access is re-validated before webhook delivery. Users should upgrade to version 1.27.0 or later to remediate this vulnerability. Since this is not a cloud service, remediation depends on applying the patch. No additional mitigation steps are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-66m4-5jjr-2rg5
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-58440"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a600abd9c2644c7f8fe2f04
Added to database: 07/22/2026, 00:11:41 UTC
Last enriched: 08/14/2026, 12:59:47 UTC
Last updated: 09/04/2026, 10:52:10 UTC
Views: 74
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.