{"id":"CVE-2026-95106","state":"PUBLISHED","title":"Gitea review and execution mismatch through duplicate tree entries","description":"Gitea accepted pushed Git trees containing two entries with the same name, which Git's own consistency checks reject. Gitea's web views resolved such a path to the first entry, while `git checkout`, Gitea Actions, and release archives use the last. A contributor could open a pull request whose diff and file views show benign content while CI and checkouts at the same commit use different, attacker-controlled content. Incoming objects are now checked for consistency; objects already stored in existing repositories are not rescanned.","publishedAt":"2026-10-06T19:23:57.452Z","updatedAt":"2026-10-07T20:08:30.652Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"CISA-ADP"},"assigner":"Gitea","products":["Gitea Gitea"],"affected":[{"vendor":"Gitea","product":"Gitea","packageName":"gitea.dev","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.27.3","versionType":"semver"}]}],"references":["https://github.com/go-gitea/gitea/security/advisories/GHSA-6pv5-8rp7-8c75","https://github.com/go-gitea/gitea/pull/39472","https://blog.gitea.com/release-of-28.0.0/","https://github.com/go-gitea/gitea/releases/tag/v28.0.0"],"weaknesses":["CWE-706"],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/95xxx/CVE-2026-95106.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-95106","state":"PUBLISHED","datePublished":"2026-10-06T19:23:57.452Z","dateUpdated":"2026-10-07T20:08:30.652Z","assignerShortName":"Gitea","assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateReserved":"2026-10-04T21:57:35.565Z"},"containers":{"cna":{"title":"Gitea review and execution mismatch through duplicate tree entries","descriptions":[{"lang":"en","value":"Gitea accepted pushed Git trees containing two entries with the same name, which Git's own consistency checks reject. Gitea's web views resolved such a path to the first entry, while `git checkout`, Gitea Actions, and release archives use the last. A contributor could open a pull request whose diff and file views show benign content while CI and checkouts at the same commit use different, attacker-controlled content. Incoming objects are now checked for consistency; objects already stored in existing repositories are not rescanned."}],"affected":[{"vendor":"Gitea","product":"Gitea","packageName":"gitea.dev","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.27.3","versionType":"semver"}]}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-6pv5-8rp7-8c75","name":"GitHub Security Advisory GHSA-6pv5-8rp7-8c75","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/39472","name":"Fix: go-gitea/gitea pull request #39472","tags":["patch"]},{"url":"https://blog.gitea.com/release-of-28.0.0/","name":"Gitea 28.0.0 release announcement","tags":["release-notes"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.0.0","name":"go-gitea/gitea v28.0.0 release","tags":["release-notes"]}],"providerMetadata":{"shortName":"Gitea","orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateUpdated":"2026-10-06T19:23:57.452Z"},"credits":[{"lang":"en","value":"https://github.com/izzysec","type":"reporter"},{"lang":"en","value":"https://github.com/TheFox0x7","type":"remediation developer"},{"lang":"en","value":"https://github.com/lunny","type":"remediation developer"},{"lang":"en","value":"https://github.com/silverwind","type":"remediation developer"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.1,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-10-07T20:07:25.322446Z","id":"CVE-2026-95106","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-706","type":"CWE","lang":"en","description":"CWE-706 Use of Incorrectly-Resolved Name or Reference"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-07T20:08:30.652Z"}}]}}}