CVE-2025-68937
Forgejo before 13.0.2 allows attackers to write to unintended files, and possibly obtain server...
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 profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.5
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.
- Record
CVE-2025-68937- CVSS 4.0
- 9.5 Critical
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 - Weakness
- CWE-61
- Updated
- 2026-11-02
EUVDEUVD-2025-205401
9.5
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.
- Record
EUVD-2025-205401- CVSS 4.0
- 9.5 Critical
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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-7mhf-6fhv-c83c
9.5
Forgejo before 13.0.2 allows attackers to write to unintended files, and possibly obtain server...
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.
- Record
GHSA-7mhf-6fhv-c83c- CVSS 4.0
- 9.5 Critical
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Weakness
- CWE-61
- Updated
- 2026-11-02
NVD
9.5
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.
- Record
CVE-2025-68937- CVSS 4.0
- 9.5 Critical
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Weakness
- CWE-61
- Updated
- 2026-11-02
Affected products
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | ClemaX/Gitea-Forgejo-CVE-2025-68937 | 2025-12-01 |
| PoC in GitHub | Scratchappy/CVE-2025-68937 | 2026-08-02 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-68937 is a critical vulnerability (CVSS 9.5) in Forgejo, published December 25, 2025. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.50%, the 43rd percentile. No source names a fixed version.
References
codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/13.0.2.md
codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/11.0.7.md
codeberg.org/forgejo/forgejo/milestone/29156
codeberg.org/forgejo/forgejo/milestone/27340
codeberg.org/forgejo/security-announcements/issues/43
blog.gitea.com/release-of-1.24.7
nvd.nist.gov/vuln/detail/CVE-2025-68937
github.com/advisories/GHSA-7mhf-6fhv-c83c