Path Traversal Issue in Gitea Affecting Multiple Git Operations
CVE-2026-95106

9.1CRITICAL

Key Information:

Vendor

Gitea

Status
Vendor
CVE Published:
6 October 2026

What is CVE-2026-95106?

Gitea's handling of Git trees has a flaw that permits the inclusion of multiple entries with identical names, which contravenes Git's standard consistency protocols. While Gitea's web views display the first listed entry, Git operations—such as git checkout, Gitea Actions, and release archives—tend to prioritize the last entry, potentially exposing users to malicious content that is hidden in pull requests. Although Gitea now verifies incoming objects for coherence, previously stored objects in existing repositories remain unchecked, leaving a window of vulnerability. Users must ensure they are running the latest version to mitigate risks.

Affected Version(s)

Gitea 0 <= 1.27.3

References

CVSS V3.1

Score:
9.1
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

https://github.com/izzysec
https://github.com/TheFox0x7
https://github.com/lunny
https://github.com/silverwind
.