Loading advisory.
Loading advisory.
Gitea: Webhooks created by a collaborator keep firing after their repo access is revoked → ongoing real-time exfiltration of private repo content
Gitea — services/repository/collaboration.go (DeleteCollaboration) + webhook delivery
Published 2026-07-21 20:11 UTC · Modified 2026-08-14 19:59 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| gitea.dev | Go | < 1.27.0 | 1.27.0 | go get gitea.dev@v1.27.0 |
Gitea — services/repository/collaboration.go (DeleteCollaboration) + webhook delivery
When a collaborator with admin permission on a private repo creates a webhook, that webhook keeps firing
after the collaborator's access is revoked. Gitea's revocation cleanup DeleteCollaboration removes the
collaboration record, recalculates accesses, drops watches, and unassigns issues — but it does not
remove or disable webhooks the user created, and webhook delivery never re-checks whether the creator still
has repo access. The former collaborator therefore receives the full payload (issue/comment bodies, commit
data) of all future repository events at their controlled endpoint, indefinitely and invisibly.
services/repository/collaboration.go → DeleteCollaboration() — cleans watches/assignees only; no
webhook cleanup.
Webhook delivery path — fires on repo events without re-validating the creator's current access.
Using the provided reproduction materials:
Attacker (admin collaborator) creates a webhook → revoke access.
Control: GET /api/v1/repos/admin/wh-repo (attacker) → 404.
GET .../hooks → webhook still active=true.
Admin creates a new issue after revocation → the catcher receives action:"opened",
issue.title:"CRITICAL SECRET: …", issue.body (sentinel private key), repository.private:true.
(Runtime-confirmed on gitea/gitea:1.25.4. Catcher is an internal sentinel listener; the payload is a
planted sentinel, not real data; nothing is sent to any external/metadata endpoint.)
Authenticated former admin-collaborator → ongoing real-time exfiltration of private content created after revocation; invisible to the owner; scope crosses from the application boundary to data the user should no longer access.
On revocation, delete/disable webhooks created by the removed collaborator (or hand them to the owner).
Re-validate the creator's current repo access before each webhook delivery.
At minimum, warn admins on revocation if the user created webhooks.
Reported as part of an incomplete-patch / authorization-residue measurement study (responsible disclosure).
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.005 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.005 | first score | v2026.06.15 |