UNIX Symbolic Link (Symlink) Following Affecting codeberg.org/forgejo/forgejo/services/repository package, versions <11.0.7>=12.0.0 <13.0.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-CODEBERGORGFORGEJOFORGEJOSERVICESREPOSITORY-14723477
  • published29 Dec 2025
  • disclosed26 Dec 2025
  • creditUnknown

Introduced: 26 Dec 2025

CVE-2025-68937  (opens in a new tab)
CWE-61  (opens in a new tab)

How to fix?

Upgrade codeberg.org/forgejo/forgejo/services/repository to version 11.0.7, 13.0.2 or higher.

Overview

Affected versions of this package are vulnerable to UNIX Symbolic Link (Symlink) Following via the mishandling of symlink destinations while evaluating template repos. An attacker can write to unintended files and potentially gain shell access on the server by creating out-of-repository symlinks.

CVSS Base Scores

version 4.0
version 3.1