CVE-2025-68937
Forgejo before 13.0.2 allows attackers to write to unintended …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- blog.gitea.com/release-of-1.24.7/
- codeberg.org/forgejo/forgejo/milestone/27340
- codeberg.org/forgejo/forgejo/milestone/29156
- 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
- codeberg.org/forgejo/security-announcements/issues/43
- nvd.nist.gov/vuln/detail/CVE-2025-68937
- cve.org/CVERecord?id=CVE-2025-68937
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.