Gitea private diff disclosure through code comment replies

State
Published
Severity
3.1 Low
Published
Nov 15, 2026
Updated
Nov 16, 2026
Reserved
Nov 15, 2026

Read the record on cve.org

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.

ProductVersions
Gitea Gitea1.14.0 to before 28.4.0 Affected

Weaknesses

  • CWE-639 Authorization Bypass Through User-Controlled Key

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.