CVE-2025-68937
JSON

9.5critical

Forgejo before 13.0.2 allows attackers to write to unintended files, and possibly obtain server shell access, because of mishandling of out…

Severity
9.5critical CVSS:4.0 by mitre
Exploit likelihood
0.54% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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.

Affected

Product or packageVersionsReported by
Forgejo Forgejofrom 12.0.0 before 13.0.2, before 11.0.7CVE List

Classification

CWE-61

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Forgejo antes de la versión 13.0.2 permite a los atacantes escribir en archivos no deseados, y posiblemente obtener acceso de shell al servidor, debido a un manejo incorrecto de los destinos de enlaces simbólicos fuera del repositorio para repositorios de plantillas. Esto también está corregido para 11 LTS en la versión 11.0.7 y posteriores.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68937 changed 2025-12-26CVE Terms of Use
NVDCVE-2025-68937 changed 2026-10-13Public domain