CVE-2025-68937

CRITICAL

Forgejo <13.0.2 - Code Injection

Title source: llm

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.

Exploits (1)

nomisec WRITEUP
by ClemaX · poc
https://github.com/ClemaX/Gitea-Forgejo-CVE-2025-68937

Scores

CVSS v4 9.5
EPSS 0.0004
EPSS Percentile 10.7%
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

Details

CWE
CWE-61
Status published
Products (2)
Forgejo/Forgejo < 11.0.7
Forgejo/Forgejo 12.0.0 - 13.0.2
Published Dec 26, 2025
Tracked Since Feb 18, 2026