CVE-2025-68937 Details
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.
A vulnerability in Forgejo versions prior to 13.0.2 allows authenticated users to write to unintended files and possibly gain remote shell access on the server. This issue arises from improper handling of symlinks in template repositories, which can be exploited to corrupt files on the server or, under certain conditions, execute arbitrary commands via a remote shell. The vulnerability is present in Forgejo versions 11.0.7 and earlier, as well as in the 13.0.0 release.
Users can upgrade to Forgejo version 13.0.2 or 11.0.7 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 26, 2025CISA-ADP
Assessed Dec 26, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.gitea.com/release-of-1.24.7/ | [email protected] | Release NotesVendor |
| https://codeberg.org/forgejo/forgejo/milestone/27340 | [email protected] | AdvisoryBundleRemedyVendor |
| https://codeberg.org/forgejo/forgejo/milestone/29156 | [email protected] | AdvisoryBundleRemedyVendor |
| https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/11.0.7.md | [email protected] | Release NotesVendor |
| https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/13.0.2.md | [email protected] | Release NotesVendor |
| https://codeberg.org/forgejo/security-announcements/issues/43 | [email protected] | AdvisoryExploitIssue TrackingRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-61 | UNIX Symbolic Link (Symlink) Following | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Forgejo | < 13.0.2 (semver) < 11.0.7 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 13, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 26, 2025 | CVE Modified | [email protected] |
| Dec 26, 2025 | New CVE Received | [email protected] |
Volerion