Gitea Notification API Private Metadata Leak Vulnerability

Vulnerability

A vulnerability in the Gitea Notification API allows users to access private issue and pull request metadata after their access to a private repository has been revoked. This issue is present in Gitea versions prior to 1.26.3. The vulnerability arises because, although the 'repository' field in notification responses is correctly nullified after access revocation, the 'subject' field remains accessible. The 'subject' field can contain private issue or pull request titles, repository-related URLs, issue or pull request states, and comment metadata. This leak not only exposes historical data but also ongoing activity if new comments are added while the notification remains unread.

Impact

Exploitation of this vulnerability leads to unauthorized access to private issue and pull request information, including titles, URLs, states, and comment activity, after repository access has been revoked.

Reproduction

To reproduce this vulnerability, a user must first have access to a private repository and subscribe to its notification updates. After receiving a notification about a new comment on a private issue, the user can have their access revoked. Despite the revocation, the user can still access the notification thread, where the 'subject' field will contain private issue metadata, including the title and URLs related to the issue.

Remediation

Users can upgrade to Gitea version 1.26.3 or later, where this vulnerability has been fixed.

Added: Jul 3, 2026, 9:28 PM
Updated: Jul 3, 2026, 9:28 PM

Vulnerability Rating

Custom Algorithm
spread
7.6
impact
0.6
exploitability
6.8
remediation
7.7
relevance
8.9
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.