CVE-2025-68937

critical

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.

References

https://codeberg.org/forgejo/security-announcements/issues/43

https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/13.0.2.md

https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/11.0.7.md

https://codeberg.org/forgejo/forgejo/milestone/29156

https://codeberg.org/forgejo/forgejo/milestone/27340

https://blog.gitea.com/release-of-1.24.7/

Details

Source: Mitre, NVD

Published: 2025-12-26

Updated: 2025-12-26

Risk Information

CVSS v2

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 9.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Severity: Critical

CVSS v4

Base Score: 9.5

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

Severity: Critical

EPSS

EPSS: 0.00055