Gitea review and execution mismatch through duplicate tree entries
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.
- Products
- gitea
- Affected versions
- Not specified
- Fixed versions
- 28.0.0
- CVEs
- CVE-2026-95106
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 12:05 UTC · Revision 1
Source evidence
Gitea review and execution mismatch through duplicate tree entries
core-osv · Original sourcePublished 14 Oct 2026, 08:43 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.
osv:BIT-gitea-2026-95106
gitea
Fixed versions: 28.0.0
Complete source record
{
"id": "0649481841b1a90d9991cb83e071bfe9ff691642322ffb62d797ee1a0e9c3042",
"url": "https://osv.dev/vulnerability/BIT-gitea-2026-95106",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Gitea review and execution mismatch through duplicate tree entries",
"summary": "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.",
"evidence": "osv:BIT-gitea-2026-95106",
"products": [
{
"name": {
"value": "gitea",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "28.0.0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "BIT-gitea-2026-95106",
"aliases": [
"BIT-gitea-2026-95106",
"CVE-2026-95106",
"GHSA-6pv5-8rp7-8c75"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "28.0.0"
}
]
}
],
"package": {
"name": "gitea",
"purl": "pkg:bitnami/gitea",
"ecosystem": "Bitnami"
},
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"database_specific": {
"source": "https://github.com/bitnami/vulndb/tree/main/data/gitea/BIT-gitea-2026-95106.json"
}
}
],
"modified": "2026-10-14T11:10:46.888418772Z",
"provider": "osv",
"references": [
"https://blog.gitea.com/release-of-28.0.0/",
"https://github.com/go-gitea/gitea/pull/39472",
"https://github.com/go-gitea/gitea/releases/tag/v28.0.0",
"https://github.com/go-gitea/gitea/security/advisories/GHSA-6pv5-8rp7-8c75",
"https://nvd.nist.gov/vuln/detail/CVE-2026-95106"
],
"provider_metadata": {
"cpes": [
"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*"
],
"severity": "Critical"
}
},
"related_cves": [
{
"value": "CVE-2026-95106",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 316232,
"published_at": "2026-10-14T08:43:08.365+00:00"
}