CVE-2026-127958

Gitea disclosure of pending pull request reviews created through the API

Published Nov 15, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
A pull request review created through the API as a draft (`event` set to `PENDING` or left empty) was added to the pull request timeline and announced through notifications and activity feeds like a submitted review. Its body and line comments were therefore visible to everyone who can read the pull request, including anonymous visitors of a public repository, before the reviewer submitted it. Pending reviews no longer get a timeline entry or notifications until they are submitted.

Analysis

AI-generated

Technical impact

A pull request review created through the API with a draft status (the event field set to PENDING or omitted) was incorrectly added to the pull request timeline and announced in notifications and activity feeds just as if it had been submitted. The review content and any line comments became visible to every viewer of the pull request, including anonymous users on a public repository, before the reviewer actually finished the review. This flaw enables an attacker to obtain sensitive code review content in draft form that was intended to remain private until final submission.

Affected Systems

The vulnerable product is Gitea. While no specific version list is provided, the issue was fixed in the 28.4.0 release, so any Gitea installation running a version older than 28.4.0 that creates pull request reviews via the API may be vulnerable.

Risk and Exploitability

The CVSS score and EPSS are not available, and the vulnerability is not listed in CISA’s KEV catalog, which suggests limited exploitation data. However, the flaw allows a legitimate API user with write permission to a repository to cause unauthenticated or anonymous visibility of draft review content, resulting in a direct information disclosure. The attack vector is through the API, and the exploit requires no special conditions beyond the ability to create a draft review. Post‑patch, pending reviews are no longer added to the timeline until they are submitted, eliminating the disclosure path.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 28.4.0 or later to apply the fix that removes draft reviews from the timeline until submission.
  • Restrict API permissions so that only trusted users can create pull request reviews, or enforce that the review event must be explicitly set to SUBMITTED at creation time.
  • As a temporary measure, monitor activity logs and timeline entries for any draft reviews that appear prematurely, and remove or redraft those entries before they are visible to the public.

Generated by OpenCVE AI on November 15, 2026 at 22:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
Type Values Removed Values Added
Description A pull request review created through the API as a draft (`event` set to `PENDING` or left empty) was added to the pull request timeline and announced through notifications and activity feeds like a submitted review. Its body and line comments were therefore visible to everyone who can read the pull request, including anonymous visitors of a public repository, before the reviewer submitted it. Pending reviews no longer get a timeline entry or notifications until they are submitted.
Title Gitea disclosure of pending pull request reviews created through the API
Weaknesses CWE-200
References
Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Nov 15, 2026, 9:14 PM
Reserved
Nov 15, 2026, 8:31 PM
Status
Deferred
Published
Nov 15, 2026, 10:17 PM
Modified
Nov 15, 2026, 10:17 PM