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.
History

Mon, 16 Nov 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 3.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N'}


Sun, 15 Nov 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Sun, 15 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Gitea private diff disclosure through code comment replies
Weaknesses CWE-639
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published: 2026-11-15T21:14:10.802Z

Updated: 2026-11-16T21:30:24.434Z

Reserved: 2026-11-15T20:29:37.622Z

Link: CVE-2026-126338

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-15T22:17:18.863

Modified: 2026-11-16T22:18:18.647

Link: CVE-2026-126338

cve-icon Redhat

No data.