CVE-2026-126338

published 15 Nov 2026 · updated 16 Nov 2026

Gitea private diff disclosure through code comment replies

3.1LowCVSS 3.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Gitea 28.4.0.

Replying to a code review comment accepted a review ID that belongs to a different pull request, through the web form, the API and incoming mail replies. A signed-in user could reply on a pull request they can access with the ID of a review in a repository they cannot read, and the new comment was attached to that review and received the diff context of the commented lines. Replies are now only accepted for a review of the same pull request, and for a pending review only from its author.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GiteaGitea>=1.14.0 <28.4.028.4.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Gitea, strongest first

10.0CriticalCISA KEVPublic exploit

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-126338 severity on Zeptric[![CVE-2026-126338](https://zeptric.io/badge/cve/CVE-2026-126338.svg)](https://zeptric.io/cve/CVE-2026-126338)