A vulnerability was found in langchain-ai langchainjs up to 0.2.18. It has been declared as critical. Affected by this vulnerability is the function getFullPath. The manipulation leads to path traversal: ‘..filename’.

This vulnerability is known as CVE-2024-7774. The attack can be launched remotely. There is no exploit available.

It is recommended to upgrade the affected component.