CVE-2026-126338
published low CVSS 3.1 · 3.1Gitea private diff disclosure through code comment replies
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 1.14.0 to < 28.4.0 · Other versions: unaffected | Affected | Not stated | Gitea |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.1 / 10
- Severity
- low
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 1.14.0 to < 28.4.0 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key
References
5- Gitea 28.4.0 release announcement https://blog.gitea.com/release-of-28.4.0/
- Fix: go-gitea/gitea pull request #40131 https://github.com/go-gitea/gitea/pull/40131
- Fix backport to release/v28: go-gitea/gitea pull request #40281 https://github.com/go-gitea/gitea/pull/40281
- go-gitea/gitea v28.4.0 release https://github.com/go-gitea/gitea/releases/tag/v28.4.0
- GitHub Security Advisory GHSA-wgx7-537g-xfrg https://github.com/go-gitea/gitea/security/advisories/GHSA-wgx7-537g-xfrg
Provider assertions
2Gitea · cna
Gitea private diff disclosure through code comment replies
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d6584628e57bd89fb4275dd66603e1f681ce9b83b1a03615ff95804b52f312ae
- Ingested
- 16 Nov 2026, 21:33:40 UTC
- Source record
- Official CVE record