PT-2026-63306 · Gitea+1 · Gitea+1

·

CVE-2026-58440

·

Published

2026-07-21

·

Updated

2026-08-26

CVSS v3.1

6.8

Medium

VectorAV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Gitea version 1.25.4
Description A flaw exists where webhooks created by a collaborator with admin permissions on a private repository continue to trigger after the collaborator's access has been revoked. The DeleteCollaboration() function in services/repository/collaboration.go removes collaboration records, recalculates access, drops watches, and unassigns issues, but fails to remove or disable webhooks created by that user. Furthermore, the webhook delivery process does not re-validate if the creator still has access to the repository. This allows a former collaborator to receive full payloads of future repository events, including issue and comment bodies and commit data, at their controlled endpoint indefinitely and invisibly.
Recommendations Update Gitea to a version where the DeleteCollaboration() function is updated to delete or disable webhooks created by the removed collaborator, or transfer ownership of those webhooks to the repository owner. Implement a re-validation check of the creator's current repository access before each webhook delivery. As a temporary mitigation, manually audit and remove webhooks created by users whose access has been revoked.

Exploit

Fix

Improper Access Control

Incorrect Authorization

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-58440
GHSA-66M4-5JJR-2RG5
GO-2026-6033
OPENSUSE-SU-2026:21483-1

Affected Products

Gitea
Red Os