{"api_version":"1","generated_at":"2026-07-06T04:13:17+00:00","cve":"CVE-2026-25718","urls":{"html":"https://cve.report/CVE-2026-25718","api":"https://cve.report/api/cve/CVE-2026-25718.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-25718","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-25718"},"summary":{"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.","state":"PUBLISHED","assigner":"Gitea","published_at":"2026-07-03 21:16:57","updated_at":"2026-07-03 21:16:57"},"problem_types":["CWE-59","CWE-59 Improper Link Resolution Before File Access ('Link Following')"],"metrics":[],"references":[{"url":"https://blog.gitea.com/release-of-1.25.5/","name":"https://blog.gitea.com/release-of-1.25.5/","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/go-gitea/gitea/pull/36746","name":"https://github.com/go-gitea/gitea/pull/36746","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.5","name":"https://github.com/go-gitea/gitea/releases/tag/v1.25.5","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/go-gitea/gitea/pull/36734","name":"https://github.com/go-gitea/gitea/pull/36734","refsource":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-25718","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25718","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Gitea","product":"Gitea Open Source Git Server","version":"affected 1.25.5 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"yonatan-pl","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"25718","cve":"CVE-2026-25718","epss":"0.001720000","percentile":"0.068760000","score_date":"2026-07-05","updated_at":"2026-07-06 00:01:19"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Gitea Open Source Git Server","vendor":"Gitea","versions":[{"lessThan":"1.25.5","status":"affected","version":"0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"reporter","value":"yonatan-pl"}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","description":"Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-03T20:19:33.104Z","orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","shortName":"Gitea"},"references":[{"name":"GitHub Pull Request #36734","tags":["patch"],"url":"https://github.com/go-gitea/gitea/pull/36734"},{"name":"GitHub Pull Request #36746","tags":["patch"],"url":"https://github.com/go-gitea/gitea/pull/36746"},{"name":"Gitea v1.25.5 Release","tags":["release-notes"],"url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.5"},{"name":"Gitea v1.25.5 Release Blog Post","tags":["release-notes"],"url":"https://blog.gitea.com/release-of-1.25.5/"}],"title":"Gitea template repository generation mishandles symlinked paths","x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","assignerShortName":"Gitea","cveId":"CVE-2026-25718","datePublished":"2026-07-03T20:19:33.104Z","dateReserved":"2026-02-22T15:13:33.721Z","dateUpdated":"2026-07-03T20:19:33.104Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-03 21:16:57","lastModifiedDate":"2026-07-03 21:16:57","problem_types":["CWE-59","CWE-59 Improper Link Resolution Before File Access ('Link Following')"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"25718","Ordinal":"1","Title":"Gitea template repository generation mishandles symlinked paths","CVE":"CVE-2026-25718","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"25718","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Gitea template repository generation mishandles symlinked paths"}]}}}