Bug 2547070 (CVE-2026-95106) - CVE-2026-95106 code.gitea.io/gitea: Gitea: Code review bypass via duplicate path entries in Git trees
Summary: CVE-2026-95106 code.gitea.io/gitea: Gitea: Code review bypass via duplicate p...
Keywords:
Status: NEW
Alias: CVE-2026-95106
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-06 19:43 UTC by OSIDB Bzimport
Modified: 2026-11-02 13:09 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-06 19:43:47 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.