# CVE-2026-126338: Gitea private diff disclosure through code comment replies

- Priority: **Routine**
- Reason: Not severe (CVSS 3.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-15 · Modified: 2026-11-16
- Record: https://cvemate.com/vulnerability/CVE-2026-126338 · JSON: https://cvemate.com/vulnerability/CVE-2026-126338/json

## Description

```text
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.
```

## Signals

- CVSS: 3.1 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.319%, percentile 26.734%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- gitea gitea: ≥ 1.14.0, \< 28.4.0

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-wgx7-537g-xfrg>
- <https://github.com/go-gitea/gitea/pull/40131>
- <https://github.com/go-gitea/gitea/pull/40281>
- <https://blog.gitea.com/release-of-28.4.0/>
- <https://github.com/go-gitea/gitea/releases/tag/v28.4.0>

---

Data as of 2026-12-05T14:32:42.930Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
