What’s Vulnerable › Vulnerabilities
CVE-2025-68937
- Severity: critical (CVSS 9.5 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-26 · updated 2026-10-13
- Weakness: CWE-61
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.
Affected products
- Forgejo: from 12.0.0 before 13.0.2; before 11.0.7 — fixed in 11.0.7, 13.0.2
How to fix
Upgrade to a fixed version: Forgejo 11.0.7, 13.0.2. Check the vendor advisory for mitigations.
References
- https://blog.gitea.com/release-of-1.24.7/
- https://codeberg.org/forgejo/forgejo/milestone/27340
- https://codeberg.org/forgejo/forgejo/milestone/29156
- https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/11.0.7.md
- https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/13.0.2.md
- https://codeberg.org/forgejo/security-announcements/issues/43
Get alerted when CVE-2025-68937 or the next vulnerability affects your stack