Description
Serena before 2.0.0 contains an improper link resolution vulnerability that allows attackers to access files outside the project root by committing symlinks inside a repository. Project.is_path_in_project() normalizes paths lexically without resolving symlinks, so file tools like read_file and create_text_file can read or overwrite files such as SSH keys or cloud credentials.
References7
- github.com/oraios/serena
- github.com/oraios/serena/blob/v1.7.0/src/serena/project.py
- github.com/oraios/serena/commit/6f20f9b822d85bb063008e786f808d0…
- github.com/oraios/serena/issues/2144
- github.com/oraios/serena/releases/tag/v2.0.0
- www.vulncheck.com/advisories/serena-before-2.0.0-symlink-follow…
- github.com/oraios/serena/issues/2144
Metrics
- CVSS 3.1
-
7.1
HIGH
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N - CVSS 4.0
-
8.4
HIGH
Score source: CNA
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/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 - EPSS — exploit probability
- 0% percentile: 13 · as of 11 November 2026
- CWE
- CWE-59
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.