PatchSiren cyber security CVE debrief
CVE-2026-127958 Gitea CVE debrief
A vulnerability in Gitea allows disclosure of pending pull request reviews created through the API. Pending reviews were visible to anyone who can read the pull request, including anonymous visitors of a public repository, before they were submitted. This issue arises from the improper handling of draft reviews, allowing sensitive information to be exposed. Gitea instance administrators and users who create pull request reviews through the API should assess exposure and apply patches or updates to prevent unauthorized access to sensitive information.
- Vendor
- Gitea
- Product
- Unknown
- CVSS
- Unknown
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-15
- Original CVE updated
- 2026-11-16
- Advisory published
- 2026-11-15
- Advisory updated
- 2026-11-16
Who should care
Gitea instance administrators and users who create pull request reviews through the API should assess exposure and apply patches or updates to prevent unauthorized access to sensitive information. This includes reviewing API usage, monitoring pull request reviews, and verifying Gitea instance versions to ensure they are not vulnerable to disclosure.
Why it matters
Defenders should care about this vulnerability as it allows disclosure of pending pull request reviews created through the API, potentially exposing sensitive information. Gitea instance administrators and users who create pull request reviews through the API should assess exposure and apply patches or updates.
- Potential disclosure of sensitive information in pending reviews
- Verification of Gitea instance version and exposure to the API
- Application of patches or updates to prevent disclosure
Technical summary
The vulnerability occurs when a pull request review is created through the API as a draft, and its body and line comments are visible to anyone who can read the pull request before submission. This issue arises from the improper handling of draft reviews, allowing sensitive information to be exposed. The vulnerability can be mitigated by verifying Gitea instance versions, applying patches or updates, and monitoring pull request reviews for potential disclosure. Affected Gitea instances should be updated to version 28.4.0 or later to prevent disclosure.
Defensive priority
Defenders should prioritize verifying exposure and applying patches for Gitea instances, especially for versions prior to 28.4.0.
Recommended defensive actions
- Verify Gitea instance version and exposure to the API
- Apply patches or updates to Gitea instances
- Monitor pull request reviews for potential disclosure
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and source item provide details on the vulnerability, but additional verification is needed to confirm affected versions and instances. Verification involves checking the Gitea instance version, reviewing API usage, and monitoring pull request reviews for potential disclosure. The lack of specific details on affected versions and configurations requires defenders to take a cautious approach and apply patches or updates as a precautionary measure.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-127958 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-127958
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-127958 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-127958
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Gitea disclosure of pending pull request reviews created through the API
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/127xxx/CVE-2026-127958.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/security/advisories/GHSA-859w-9wv7-c5x9
Supplemental source - vendor-advisory
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/pull/40260
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/pull/40272
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://blog.gitea.com/release-of-28.4.0/
Supplemental source - release-notes
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/releases/tag/v28.4.0
Supplemental source - release-notes
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.