{"id":"CVE-2026-126338","aliases":[],"cve":{"records":[{"id":"CVE-2026-126338","source":"Gitea","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-11-15T20:29:37.622Z","published":"2026-11-15T21:14:10.802Z","modified":"2026-11-16T21:30:24.434Z"}],"publishers":[{"name":"Gitea","role":"CNA","organizationId":"88ee5874-cf24-4952-aea0-31affedb7ff2","modified":"2026-11-15T21:14:10.802Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-16T21:30:24.434Z"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-wgx7-537g-xfrg","tags":["vendor-advisory"],"source":"Gitea"},{"url":"https://github.com/go-gitea/gitea/pull/40131","tags":["patch"],"source":"Gitea"},{"url":"https://github.com/go-gitea/gitea/pull/40281","tags":["patch"],"source":"Gitea"},{"url":"https://blog.gitea.com/release-of-28.4.0/","tags":["release-notes"],"source":"Gitea"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.4.0","tags":["release-notes"],"source":"Gitea"}],"weaknesses":[{"id":"CWE-639","description":"CWE-639: Authorization Bypass Through User-Controlled Key","source":"Gitea"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-16T21:30:21.114948Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"Gitea private diff disclosure through code comment replies","titleSource":"Gitea","descriptionSource":"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.","score":3.1,"severity":"low","published":"2026-11-15T21:14:10.802Z","modified":"2026-11-16T21:30:24.434Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Gitea","name":"Gitea","platforms":[],"versions":[{"version":"1.14.0","status":"affected","lessThan":"28.4.0","versionType":"semver"}],"defaultStatus":"unaffected","cpes":[],"source":"Gitea","url":"https://www.cve.org/CVERecord?id=CVE-2026-126338"}],"remediation":[],"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"],"sources":[{"name":"CVE","id":"CVE-2026-126338","modified":"2026-11-16T21:30:24.434Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-126338"}],"assessments":[{"source":"CISA-ADP","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","score":3.1}],"sourceAffected":[],"observedAt":"2026-11-16T21:37:08.826Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T23:00:31.757Z"},"coverage":[{"source":"NVD","status":"refresh-failed","attemptedAt":"2026-11-15T21:35:32.472Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-15T21:35:34.554Z","attemptedAt":"2026-11-15T21:35:34.554Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-15T21:35:35.259Z","attemptedAt":"2026-11-15T21:35:35.259Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-15T21:35:34.769Z","attemptedAt":"2026-11-15T21:35:34.769Z"}],"evidence":[],"aiSummary":{"text":"Gitea versions before 1.14.0-28.4.0 are affected by an authorization bypass weakness, allowing a signed-in user to reply to a code review comment and access a private diff. The user must have access to the pull request and use the ID of a review in a repository they cannot read. This allows the new comment to be attached to that review and receive the diff context.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-15T21:31:06.343Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-126338"}]}}