CVE-2025-68937 forgejo: Forgejo: Server shell access via symlink mishandling in template repositories
CriticalCVSS 9.5
EPSS 0.50%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| forgejo | < 11.0.7; >= 12.0.0, < 13.0.2 | 11.0.7, 13.0.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| forgejo | >= 12.0.0, < 13.0.2 | 13.0.2 |
| forgejo | < 11.0.7 | 11.0.7 |
References
- codeberg.org
- codeberg.org
- codeberg.org
- codeberg.org
- codeberg.org
- blog.gitea.com
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2425446 issue-tracking
- www.cve.org
- nvd.nist.gov