CVE-2025-68937
published critical CVSS 4.0 · 9.5forgejo: Forgejo: Server shell access via symlink mishandling in template repositories
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Forgejo | — | Forgejo12.0.0 to < 13.0.2 · 0 to < 11.0.7 · Other versions: unaffected | Affected | Not stated | mitre |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.5 / 10
- Severity
- critical
- Provider
- mitre · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Forgejo | Forgejo | 12.0.0 to < 13.0.2 (affected · semver)0 to < 11.0.7 (affected · semver)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-61 CWE-61 UNIX Symbolic Link (Symlink) Following
References
6- https://blog.gitea.com/release-of-1.24.7/
- https://codeberg.org/forgejo/forgejo/milestone/27340
- https://codeberg.org/forgejo/forgejo/milestone/29156
- https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/11.0.7.md
- https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/13.0.2.md
- https://codeberg.org/forgejo/security-announcements/issues/43
Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f9e6518bb2919d76666fa466d9e84cb691eba4ecef44226639a56650a8c7bcb8
- Ingested
- 23 Sep 2026, 08:57:14 UTC
- Source record
- Official CVE record