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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
oraios serena
Default version status: unaffected
0 to < 2.0.0affected
pkg:pypi/serena-agentReferences
- https://github.com/oraios/serena/issues/2144 ↗
- https://github.com/oraios/serena/commit/6f20f9b822d85bb063008e786f808d04619dd54e ↗
- https://github.com/oraios/serena/releases/tag/v2.0.0 ↗
- https://github.com/oraios/serena/blob/v1.7.0/src/serena/project.py ↗
- https://github.com/oraios/serena ↗
- https://www.vulncheck.com/advisories/serena-before-2.0.0-symlink-following-in-file-tools-allows-access-outside-project-root ↗