Critical severity · published Dec 25, 2025
CVE-2025-68937
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…
9.5
CVSS
0.5%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 43% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FO
Forgejo · Forgejo
12.0.0 before 13.0.2; before 11.0.7 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-68937
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-68937
blog.gitea.com
https://blog.gitea.com/release-of-1.24.7/
codeberg.org
https://codeberg.org/forgejo/forgejo/milestone/27340
codeberg.org
https://codeberg.org/forgejo/forgejo/milestone/29156
codeberg.org
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/11.0.7.md
codeberg.org
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/13.0.2.md
codeberg.org
https://codeberg.org/forgejo/security-announcements/issues/43
More from Forgejo
9.9
CVE-2026-89094
Forgejo before 16.0.4 allows remote code execution via a crafted template repository because template expansion on files in .forgejo/template is mishandled
9.1
CVE-2023-49946
In Forgejo before 1.20.5-1, certain endpoints do not check whether an object belongs to a repository for which permissions are being checked
7.5
CVE-2023-49947
Forgejo before 1.20.5-1 allows 2FA bypass when docker login uses Basic Authentication
6.3
CVE-2026-82556
Forgejo Repository Migration is_migrate_allowed.go net.LookupIP server-side request forgery
5.4
CVE-2026-59102
Forgejo < 15.0.3 - Stored XSS via Actions Run Full Name Rendering
