CVE-2025-68937

CRITICAL CVSS 4.0: 9.5 EPSS 0.50%
Updated Oct 13, 2026
Forgejo
Parameter Value
CVSS 9.5 (CRITICAL)
Affected Versions 12.0.0 — 13.0.2
Fixed In 13.0.2
Type CWE-61 (UNIX Symlink Following)
Vendor Forgejo
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Forgejo Forgejo
cpe:2.3:a:forgejo:forgejo:*:*:*:*:*:*:*:*
12.0.0 13.0.2
Forgejo Forgejo
cpe:2.3:a:forgejo:forgejo:*:*:*:*:*:*:*:*
— 11.0.7