{"id":"CVE-2025-68937","aliases":["EUVD-2025-205401","GHSA-7mhf-6fhv-c83c"],"status":"published","title":"Forgejo before 13.0.2 allows attackers to write to unintended files, and possibly obtain server...","description":"Forgejo before 13.0.2 allows attackers to write to unintended files, and possibly obtain server shell access, because of mishandling of out-of-repository symlink destinations for template repositories. This is also fixed for 11 LTS in 11.0.7 and later.","severity":{"version":"4.0","score":9.5,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00501,"percentile":0.43235,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-61"],"published":"2025-12-25T23:57:30Z","modified":"2026-10-13T10:10:00Z","exploits":[{"source":"pocgithub","id":"ClemaX/Gitea-Forgejo-CVE-2025-68937","title":"ClemaX/Gitea-Forgejo-CVE-2025-68937","date":"2025-12-01","url":"https://github.com/ClemaX/Gitea-Forgejo-CVE-2025-68937"},{"source":"pocgithub","id":"Scratchappy/CVE-2025-68937","title":"Scratchappy/CVE-2025-68937","date":"2026-08-02","url":"https://github.com/Scratchappy/CVE-2025-68937"}],"products":[{"vendor":"forgejo","product":"forgejo"}],"references":[{"url":"https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/13.0.2.md"},{"url":"https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/11.0.7.md"},{"url":"https://codeberg.org/forgejo/forgejo/milestone/29156"},{"url":"https://codeberg.org/forgejo/forgejo/milestone/27340"},{"url":"https://codeberg.org/forgejo/security-announcements/issues/43"},{"url":"https://blog.gitea.com/release-of-1.24.7/"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68937"},{"url":"https://blog.gitea.com/release-of-1.24.7"},{"url":"https://github.com/advisories/GHSA-7mhf-6fhv-c83c"}],"sources":{"cve":[{"id":"CVE-2025-68937","description":"Forgejo before 13.0.2 allows attackers to write to unintended files, and possibly obtain server shell access, because of mishandling of out-of-repository symlink destinations for template repositories. This is also fixed for 11 LTS in 11.0.7 and later.","status":"published","published":"2025-12-25T23:57:30.456Z","modified":"2025-12-26T14:51:12.778Z","cvss":[{"version":"4.0","score":9.5,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","level":"critical","assessor":"cna"}],"cwes":["CWE-61"],"updated_at":"2026-11-02T14:32:36.079745Z"}],"euvd":[{"id":"EUVD-2025-205401","description":"Forgejo before 13.0.2 allows attackers to write to unintended files, and possibly obtain server shell access, because of mishandling of out-of-repository symlink destinations for template repositories. This is also fixed for 11 LTS in 11.0.7 and later.","status":"published","published":"2025-12-25T23:57:30Z","modified":"2025-12-26T14:51:12Z","cvss":[{"version":"4.0","score":9.5,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","level":"critical"}],"updated_at":"2026-11-02T19:49:01.342725Z"}],"ghsa":[{"id":"GHSA-7mhf-6fhv-c83c","title":"Forgejo before 13.0.2 allows attackers to write to unintended files, and possibly obtain server...","description":"Forgejo before 13.0.2 allows attackers to write to unintended files, and possibly obtain server shell access, because of mishandling of out-of-repository symlink destinations for template repositories. This is also fixed for 11 LTS in 11.0.7 and later.","status":"published","published":"2025-12-26T00:30:12Z","modified":"2025-12-26T03:31:17Z","cvss":[{"version":"4.0","score":9.5,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"critical"}],"cwes":["CWE-61"],"updated_at":"2026-11-02T15:05:22.620437Z"}],"nvd":[{"id":"CVE-2025-68937","description":"Forgejo before 13.0.2 allows attackers to write to unintended files, and possibly obtain server shell access, because of mishandling of out-of-repository symlink destinations for template repositories. This is also fixed for 11 LTS in 11.0.7 and later.","status":"published","published":"2025-12-26T00:16:01.173Z","modified":"2026-10-13T10:10:00.193Z","cvss":[{"version":"4.0","score":9.5,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"critical","assessor":"secondary"}],"cwes":["CWE-61"],"updated_at":"2026-11-02T14:11:53.683969Z"}]}}
