PatchSiren cyber security CVE debrief
CVE-2026-126338 Gitea CVE debrief
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. This vulnerability allows a signed-in user to potentially disclose private diff information by replying on a pull request with a review ID from a different repository. The issue arises from insufficient access control checks when processing code comment replies, allowing unauthorized access to private diffs.
- 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
Defenders responsible for Gitea deployments, especially those with multiple repositories and users, should assess exposure and apply patches or mitigations as available. This includes reviewing compensating controls for exposed systems, monitoring Gitea logs for suspicious activity, and verifying the effectiveness of mitigations. Security teams and vulnerability management teams should prioritize this vulnerability due to its potential impact on private G
Why it matters
A vulnerability in Gitea allows a signed-in user to potentially disclose private diff information by replying on a pull request with a review ID from a different repository.
- Potential disclosure of private diff information
- Need to verify exposure in Gitea deployments
- Prioritize patching or mitigations for affected versions
- Monitor Gitea logs for suspicious activity
Technical summary
A vulnerability in Gitea allows a signed-in user to reply on a pull request they can access with the ID of a review in a repository they cannot read, potentially disclosing private diff information. The issue arises from insufficient access control checks when processing code comment replies, allowing unauthorized access to private diffs. This vulnerability can be mitigated by applying patches or upgrading to Gitea version 28.4.0 or later. Defenders should prioritize verifying exposure in Gitea deployments, especially those with multiple repositories and users.
Defensive priority
Defenders should prioritize verifying exposure in Gitea deployments, especially those with multiple repositories and users, and apply patches or mitigations as available.
Recommended defensive actions
- Verify Gitea deployments for exposure, especially those with multiple repositories and users
- Apply patches or mitigations as available, such as upgrading to Gitea version 28.4.0 or later
- Monitor Gitea logs for suspicious activity related to code comment replies
- 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, including its description and affected versions. The vulnerability was introduced due to a lack of proper access controls in the code comment reply functionality. Evidence from the CVE Program and source item confirms the vulnerability's existence and provides context for defenders.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-126338 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-126338
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-126338 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-126338
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Gitea private diff disclosure through code comment replies
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/126xxx/CVE-2026-126338.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/security/advisories/GHSA-wgx7-537g-xfrg
Supplemental source - vendor-advisory
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/pull/40131
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/pull/40281
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.