{"id":"GHSA-h697-89cp-24q8","revision":"c1fe94f4c264479387484c5d3ca6781e","records":[{"revision":"c1fe94f4c264479387484c5d3ca6781e","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-h697-89cp-24q8","aliases":["CVE-2026-25718","GO-2026-6340"],"title":"Gitea template repository generation follows unsafe filesystem paths","description":"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.","state":0,"publishedAt":"2026-07-03T21:31:37+00:00","modifiedAt":"2026-09-02T19:41:25.3880523+00:00","affected":[{"ecosystem":"Go","name":"code.gitea.io/gitea","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.25.5"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2026-25718","https://github.com/go-gitea/gitea/pull/36734","https://github.com/go-gitea/gitea/pull/36746","https://github.com/go-gitea/gitea/commit/2176e84ab977011ff2bc3f3a9066020cc674f6b1","https://github.com/go-gitea/gitea/commit/579615936c1ef7ba16c8887b9d12ade4c44f78fa","https://blog.gitea.com/release-of-1.25.5","https://github.com/go-gitea/gitea","https://github.com/go-gitea/gitea/releases/tag/v1.25.5"],"sourceUrl":"https://github.com/advisories/GHSA-h697-89cp-24q8","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-h697-89cp-24q8","identifiers":["GHSA-h697-89cp-24q8","CVE-2026-25718","GO-2026-6340"]},"retained":false,"historicalAffected":[]}],"coverage":[]}