CVE Explore

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

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