CVE-2025-68937: Vulnerability in Forgejo
Critical. 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.
CWE-61
- Exploitation
- None confirmed
- Severity
- 9.5 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- 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
- Weakness
- CWE-61
- Published
- 26 Dec 2025
- Last change
- 13 Oct 2026
Affected products
Affected versions and the first fixed release
- Forgejo Before 13.0.2. Fixed in 13.0.2
Advisories
Vendor and security advisories
- blog.gitea.com/release-of-1.24.7/
- codeberg.org/forgejo/forgejo/milestone/27340
- codeberg.org/forgejo/forgejo/milestone/29156
- codeberg.org/forgejo/security-announcements/issues/43
Patches and fixes
Updates, commits and release notes
- codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/11.0.7.md
- codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/13.0.2.md
Related
- Forgejo vulnerabilities Recent advisories, watch this product