{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-25718","id":"CVE-2026-25718","title":"Gitea template repository generation mishandles symlinked 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.","descriptionLong":"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.","published":"2026-07-03T20:19:33.104Z","updated":"2026-10-28T02:30:56.989043682Z","reserved":"2026-02-22T15:13:33.721Z","status":"Deferred","rejected":false,"assigner":"Gitea","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"OSV"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub"}],"rating":"critical","products":["Gitea Open Source Git Server"],"affectedProducts":[{"vendor":"Gitea","product":"Gitea Open Source Git Server","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.25.5","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":["<1.25.5"],"fixed":["1.25.5"],"advisory":"GHSA-h697-89cp-24q8"}],"cwes":["CWE-59"],"aliases":["GHSA-h697-89cp-24q8","GO-2026-6340"],"references":[{"url":"https://github.com/go-gitea/gitea/pull/36734","tags":["patch","fix","web"]},{"url":"https://github.com/go-gitea/gitea/pull/36746","tags":["patch","fix","web"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.5","tags":["release-notes","advisory","web"]},{"url":"https://blog.gitea.com/release-of-1.25.5/","tags":["release-notes","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25718.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25718","tags":["advisory"]},{"url":"https://github.com/go-gitea/gitea/commit/2176e84ab977011ff2bc3f3a9066020cc674f6b1","tags":["web"]},{"url":"https://github.com/go-gitea/gitea/commit/579615936c1ef7ba16c8887b9d12ade4c44f78fa","tags":["web"]},{"url":"https://blog.gitea.com/release-of-1.25.5","tags":["web"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"]},{"url":"https://github.com/advisories/GHSA-h697-89cp-24q8","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.00562,"epssPercentile":0.47573,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-25718","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25718","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-25718","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-h697-89cp-24q8","ok":true,"note":"GHSA-h697-89cp-24q8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-25718","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}