Vulnerability in Forgejo
CVE-2025-68937
- Public exploits
- 2 repositories
- EPSS
- 0.005 · 43.5th percentile
- Published
- 2025-12-26
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.
Published · last modified .
EPSS exploit prediction
EPSS 0.005, 43.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Forgejo — versions 12.0.0, 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- Scratchappy/CVE-2025-68937 (last pushed 2026-08-02): Automated PoC exploit for CVE-2025-68937 — Gitea/Forgejo Template Symlink RCE. Any authenticated user can get a shell as the git service user.
- ClemaX/Gitea-Forgejo-CVE-2025-68937 (last pushed 2026-02-19): Directory traversal in Gitea and Forgejo's repository‑template processing allows remote authenticated attackers to process arbitrary files on the filesystem, leading to remote code execution.
References
- codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/13.0.2…
- codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/11.0.7…
- codeberg.org/forgejo/forgejo/milestone/29156
- codeberg.org/forgejo/forgejo/milestone/27340
- codeberg.org/forgejo/security-announcements/issues/43
- blog.gitea.com/release-of-1.24.7/
This CVE has public exploit evidence. See the latest CVEs with public exploits.