CVE-2025-68937 json
Forgejo before 13.0.2 allows attackers to write to unintended files, and possibly obtain server shell access, because of mishandling of out…
published 2025-12-25 10 mo ago modified 2026-10-13 27 d ago also EUVD-2025-205401
- cvss
- 9.5
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Forgejo Forgejo 11.0.7, 13.0.2
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-68937 updated cvss 9.9
forgejo: Forgejo: Server shell access via symlink mishandling in template repositories
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 10 mo ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.5 | 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 |
| CNA | 4.0 | 9.5 | 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 |
Affected products
- Forgejo Forgejo
Classification
- Weakness
-
- CWE-61 UNIX Symbolic Link (Symlink) Following
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/
Sources
- CVE List CVE-2025-68937
- NVD CVE-2025-68937
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.