CVE-2025-68937

forgejo: Forgejo: Server shell access via symlink mishandling in template repositories

Published Dec 25, 2025 CVSS 4.0 · 9.5 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title forgejo: Forgejo: Server shell access via symlink mishandling in template repositories
Weaknesses CWE-59
References
Metrics threat_severity

None

cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Forgejo
Forgejo forgejo
CPEs cpe:2.3:a:forgejo:forgejo:*:*:*:*:*:*:*:*
Vendors & Products Forgejo
Forgejo forgejo
Metrics cvssV4_0

{'score': 9.5, 'vector': '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'}

Type Values Removed Values Added
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.
Weaknesses CWE-61
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Dec 26, 2025, 2:51 PM
Reserved
Dec 25, 2025, 11:57 PM
Status
Deferred
Published
Dec 26, 2025, 12:16 AM
Modified
Oct 13, 2026, 10:10 AM
Severity
Moderate
Public date
Dec 25, 2025, 11:57 PM