01 Record
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 template
CriticalPUBLISHEDCNA: mitre
CNA base score9.5 CVSS v4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
02 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
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 0.50% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 42.5% of scored records. A rank, not a probability.
- NVD base score
- 9.5 (CVSS v4.0), scored by the NVD independently of the CNA.
- NVD CVSS vector
- 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
- NVD analysis status
- Deferred. NVD last modified this record on 2026-10-13.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2025-12-25 23:57Z10 MO AGO
- Last updated
- 2025-12-26 14:51Z10 MO AGO
- Reserved
- 2025-12-25
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Critical (CVSS 9.5)
- CNA CVSS vector
- 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
- Weaknesses
- Data version
- 5.2
- Document digest
- 5f00c78609ec529f9c4365f3f2868e2e6d7d6888611ef390b7307b5d199a8ada
05 Affected products
VendorProductVersionsPlatforms
06 References
- codeberg.orghttps://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/13.0.2.md
- codeberg.orghttps://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/11.0.7.md
- codeberg.orghttps://codeberg.org/forgejo/forgejo/milestone/29156
- codeberg.orghttps://codeberg.org/forgejo/forgejo/milestone/27340
- codeberg.orghttps://codeberg.org/forgejo/security-announcements/issues/43
- blog.gitea.comhttps://blog.gitea.com/release-of-1.24.7/