{"id":"CVE-2026-25718","published":"2026-07-03T20:19:33Z","modified":"2026-07-07T16:59:46Z","title":"Gitea template repository generation mishandles symlinked paths","vendor":"Gitea","product":"Gitea Open Source Git Server","tier":"tail","description":{"text":"Gitea versions before 1.25.5 mishandle path resolution during template repository generation, allowing template processing to read or write through symlinked or otherwise non-regular paths.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00562,"percentile":0.40478,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/go-gitea/gitea/pull/36734","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/pull/36746","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.5","tags":["release-notes"]},{"url":"https://blog.gitea.com/release-of-1.25.5/","tags":["release-notes"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":8.1},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"gitea","affectedVersions":[{"vendor":"Gitea","product":"Gitea Open Source Git Server","versions":["< 1.25.5"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-07T16:15:33.744373Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"code.gitea.io/gitea","vulnerableRanges":["<1.25.5"],"patched":["1.25.5"],"from":["GHSA-h697-89cp-24q8","GO-2026-6340"],"provenance":"source"}],"summary":{"text":"The flaw lies in the template repository generation feature of Gitea Open Source Git Server, where path resolution is mishandled in versions before 1.25.5. An attacker who can supply a template repository can cause the template processing to read or write through symlinked or other non-regular paths. Per the attack vector, this is reachable over the network with no privileges or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:14:05Z"},"euvd":{"id":"EUVD-2026-41624","exploited":false,"provenance":"source"}}