Post

CVE-2026-128365 - Gitea Required Approval Bypass

CVE-2026-128365 - Gitea Required Approval Bypass

CVE-2026-128365 - Gitea Required Approval Bypass

The CVE-2026-128365 vulnerability describes a Gitea required approval bypass through team review request removal. The core mechanism of the bypass involved that removing a team’s review request looked up a review by the negated team ID, which for the team with ID 2 is the ID of the built-in Actions user, and marked the review it found as official. This flaw meant that in the organization that owns that team, a user who can change the review requests of a pull request could make an approval left by the Actions user count toward the approvals required by branch protection. It was clarified that merging still required permission to merge. The resolution for this issue ensures that removing a team review request no longer changes any review.

Affected Products

The following products are affected by the CVE-2026-128365 vulnerability: Gitea.

Changes Over Time

The following table lists the changes that have been made to the CVE-2026-128365 vulnerability over time. A new CVE was received on Nov. 15, 2026. As part of this update, the description was added: “Removing a team’s review request looked up a review by the negated team ID, which for the team with ID 2 is the ID of the built-in Actions user, and marked the review it found as official. In the organization that owns that team, a user who can change the review requests of a pull request could make an approval left by the Actions user count toward the approvals required by branch protection. Merging still required permission to merge. Removing a team review request no longer changes any review.” Additionally, the vulnerability was assigned CWE-863.

Further References

For more information, you can check the following links:

To read the complete article, see: Read full article 🚀

This post is licensed under CC BY 4.0 by the author.